How to sort go code functions alphabetically? GoLand Code -> Rearrange Code is greyed out

huangapple go评论106阅读模式
英文:

How to sort go code functions alphabetically? GoLand Code -> Rearrange Code is greyed out

问题

我真的不想手动重新排列我的所有代码,因为我在几个月前无意中一直在这样做,直到最后才意识到我的编辑器或其他外部工具应该能够为我完成这个任务。

然而,“代码 -> 重新排列”菜单设置选项是灰色的。

“设置 -> 编辑器 -> Go”中没有提到重新排列或匹配函数。

这个功能还没有被移植到 GoLand 吗?

英文:

I really don't want to rearrange all of my code manually as I have unwittingly been doing for a couple months now before finally realizing my editor or some other external tool should be able to do this for me.

However the Code -> Rearrange menu setting option is greyed out.

Settings -> Editor -> Go has no mention of rearranging or matching functions.

Has this functionality not been ported over to GoLand yet?

答案1

得分: 2

你是对的,GoLand目前还没有这个功能,请查看并遵循GO-2270

英文:

You're right, this functionality is not available in GoLand yet, please see and follow GO-2270.

huangapple
  • 本文由 发表于 2022年8月2日 23:11:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/73209884.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定