Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of functions in a file in Goland

I am using VSCODE and it has a shortcut where it displays in a popup the interfaces, functions in the file. It is fairly common to have functions in a file in Goland without any encapsulation in interface. When I press Ctrl+F12 in Goland, it does not display anything unless I check the Package structure box and then lot of unwanted stuff also shows up. In short, is there a way to see the list of functions that exist in a file using Goland?

like image 242
curiousengineer Avatar asked Oct 17 '22 16:10

curiousengineer


1 Answers

Use the latest 2018.2 Beta as this has a fix for displaying the methods in a local file that are bound to a type defined in another file. If you still have issues with this, please describe a way to reproduce this or open an issue on our tracker.

See the image below: local functions

like image 64
dlsniper Avatar answered Oct 21 '22 06:10

dlsniper