英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论