Saem Ghani
Saem Ghani
Ok that's not good at all. 😅 Yeah, it should really report an error the whole "will exceptions work today across the nim/JS boundary" is a whole thing. Might be...
I've thought about it, I've been rather involved with nimsuggest and there is a bug or two with the syntax based highlighting that I'd want to get to beforehand. I...
Yup, that's the right idea. The bridge between nimsuggest and the editor is there, a few FFI declarations for VSCode API and plumbing code could do it.
The definition in the extension does not set the colour, that is correct. The syntax highlighting definition does classify various syntax using a dot separated string with some conventions. Those...
Excellent issue, thanks for raising it. I'm pretty sure this is a limitation of nimsuggest, runable examples aren't provided during the suggestion process. First the compiler/suggest would have to be...
I'm not sure how we could reasonably execute nimdoc, it's quite fragile from what I understand she also slow. Not sure how to keep that stuff up to date as...
Yeah, there is a background indexing operation that happens, with a bunch of caching. But it's usually nimsuggest that loses the plot. nimsuggest doesn't have a reasonable sentinel strategy iirc...
it already does that, if you're having this issue chances are you didn't set `nim.project`, see the readme https://github.com/saem/vscode-nim#options
> if nim.project is not defined then all nim files will be used as separate project Yes, set it per Nim project, that's how it works. If you think it...
Yes, that trivial case works. Now please enumerate all the other possibilities because none of this stuff is well specified. If you spelunk through the git history I bet you...