Something that has bugged me for a while now is that the "Outline" panel in my vscode IDE does not list methods.
Long story short, I found that, for nimsuggest --v3 and nimsuggest --v4, the outline command does not list method declarations.
The fix is very simple - a single insertion into a single line of nimsuggest.nim.
However, when I looked at the test code in tv3_outline.nim, I found that, while the example code includes a method declaration, the expected output does not include an entry for the method. So it appears that the omission in nimsuggest.nim may have been deliberate.
My question is this. Is there any reason why I should not generate an issue and submit a corresponding PR to fix the problem and update the test?
Until recently, operators were not listed either: https://github.com/nim-lang/langserver/issues/380
Please do file a report. Also, would you please that me in it? It's @moigagoo.
https://github.com/nim-lang/Nim/issues/25710 has been generated and https://github.com/nim-lang/Nim/pull/25711 has been submitted.
Sorry, @moigagoo, I didn't see your post until I had already submitted.