"Surround with..." does not offer <editor-fold>, but manual typing of <editor-fold> works
已回答
In GoLand 2021.2.3 (Build #GO-212.5284.40, built on September 14, 2021), I try "surround with..." action in order to wrap a piece of code with <editor-fold>, as described here and here. But what I see is:

If I manually type a pair of comments with <editor-fold> and </editor-fold> tag, the folding works as expected.

Please fix this. I could not find any information on how to add a custom "surround with..." template.
请先登录再写评论。
Hello Vadim,
I've filled out a new ticket on our tracker. Feel free to follow GO-11814. A workaround also is added in the ticket description.
Thank you for sharing.