VS Code Nim Extension in Nim

2020-09-30 Thread dom96
IMO this shouldn't be handled by the extension. It should be the job of a [langserver](https://langserver.org/), it should manage its data providers in whatever way is appropriate whether that is nimsuggest or something else entirely. Indeed, it should measure the resource usage of whatever it i

VS Code Nim Extension in Nim

2020-09-30 Thread mratsim
Only one nimsuggest instance and kill it when it inevitably uses 100% CPU (can be easily tested by opening Weave in the original VS code extension )

VS Code Nim Extension in Nim

2020-09-30 Thread dom96
Amazing! Thank you for making it easier for the Nim community to contribute to one of the most important tools we have. I have a request for you, when designing new features and deciding whether to keep existing ones in the extension, steer towards not getting in the users way by default. Subtl

VS Code Nim Extension in Nim

2020-09-29 Thread saem
I took a quick scan and this looks like exactly what I need, thanks so much! Also gives me another place to go spelunking because there is a bunch of overlap in this area. I also did a quick search in the git repo and I see hits in `nimsuggest` and `nimfind`, which got me thinking does a `findA

VS Code Nim Extension in Nim

2020-09-29 Thread Araq
How to determine the main entry point of a project is encoded in compiler/options.nim, `proc findProjectNimFile`.

VS Code Nim Extension in Nim

2020-09-29 Thread saem
> Something I want to mention is that the original vscode extension (and by > extent also your translation) have a some half functional attempts at things > which I want to discuss. Yes please, there is a bunch of history I've been trying to suss out. On top of which just developing good taste

VS Code Nim Extension in Nim

2020-09-29 Thread saem
That stuff is a bit flaky because of the some of the changes I made and at some point it became pickier about `nim check` related errors. For now perhaps open an issue with relevant details.

VS Code Nim Extension in Nim

2020-09-28 Thread JPLRouge
Hello, the structure displays are missing

VS Code Nim Extension in Nim

2020-09-26 Thread doofenstein
as someone who contributed a little bit to the Nim vscode extension in the past I'm glad someone's bringing a fresh breeze into this area, thank you for that! Something I want to mention is that the original vscode extension (and by extent also your translation) have a lot a lot of half function

VS Code Nim Extension in Nim

2020-09-26 Thread saem
I'll pre-apologize, but I went for more of a mechanical transform at first, still much of that lying around. Also, I'm learning Nim along the way so you'll likely be asking yourself, "why didn't they do X?" The answer is I don't know better/didn't discover it yet/learned it really late. For exa

VS Code Nim Extension in Nim

2020-09-26 Thread Araq
Oh this is so awesome! Finally we can contribute without having to program in a different language. :-)

VS Code Nim Extension in Nim

2020-09-26 Thread saem
It's not at all pretty (read: I've done regrettable things), but I've ported the [VS Code extension from TypeScript to Nim](https://marketplace.visualstudio.com/items?itemName=nimsaem.nimvscode). Noteable changes: * It's written in Nim, maybe that's a cool thing * It's probably slower/more