Kemal Afzal

Results 209 comments of Kemal Afzal

if it's really just a nimsuggest issue then could you put together the steps to reproduce and make an issue on it's [issue tracker](https://github.com/nim-lang/nimsuggest/issues)?

I figured it out, atleast somewhat. There's a problem with the dirty files, idk what but if you instead pass the filename again it works for me (https://github.com/pragmagic/vscode-nim/blob/master/src/nimSuggestExec.ts#L200).

two things which sprung to my mind: 1. The `# vscode-nim arguments: ` syntax is very specific. I wonder if we could talk with authors of Nim extensions for other...

oh, my bad, that was a misunderstanding on my side

the problem is nimsuggest, it has no support for import suggestions nor for "go-to-definition" for modules. See here: https://github.com/nim-lang/nimsuggest/issues/47

what do you mean, by all the value it can take on? just go to the enums definition (right click go to definition or ctrl+click), and you'll find the values...

1. the completion is provided by nimsuggest not by the plugin 2. what you're describing `enumName.` is not really idomatic Nim code. Enums should only be explicitely qualified in cases...

> This should be a separate plugin IMO this would be rather hard, I don't really know if there is even a way to intercept the suggestion provider of another...

I think with [NEP](https://nim-lang.org/docs/nep1.html), styleCheck:on and nimpretty we got to the point where this original idea of everybody uses the casing she/he prefers is obsolete. The case invariancy of Nim...

proper renaming would be a prequisite for casing conversion. Nim suggest doesn't provide functionality for that, though it can list all occurences of an identifier. I did some experiments a...