Nikolay Nikolov

Results 47 comments of Nikolay Nikolov

What are the command line options of nimsuggest, i.e. what does `ps ax | grep nimsuggest` print exactly, while VS code is running?

Can you make the following changes in nimlangserver.nim.cfg: * uncomment the line `--define:"chronicles_log_level=TRACE"` * comment the line `--define:"chronicles_log_level=DEBUG"` * uncomment the line `--define:"chronicles_sinks=textlines[file]"` Finally, it should look like that: ```...

Hmm, here's what the end of the log is supposed to look after closing VS Code: ``` TRC Received message message="{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"shutdown\"}" DBG Router: dispatching method=shutdown id=3 DBG Shutting down DBG...

Hmm, it's possible that the logStderr is causing this. It does a blocking read on the fd in another thread. While this blocking call is in progress, we call close()...

> Same thing happens on Windows 11 Please file a separate bug report for Windows, with the exact steps to reproduce. Include, at least, Nim and nimsuggest version, how did...

Very strange. Tried this in a VM under Ubuntu 22.04.3 LTS (with latest updates) and I still couldn't reproduce it. What is your kernel version? The close and read calls...

> if this is relevant: i have the same problem under arch. dangling processes after closing vscode. Please provide nimsuggest.log (see above how to enable logging), your VS Code version,...

I think I found out what's causing this mysterious issue. It appears that the problem is being caused by choosenim. I'm not using choosenim and I don't have this problem....

> you mean to use nimsuggest in PATH without choosenim shims? Yes, that's one way to test it without uninstalling choosenim completely.

Here's the latest information in our readme, which mentions nimlsp in the "Related Projects" section: https://github.com/nim-lang/langserver?tab=readme-ov-file#related-projects Note that I'm unfamiliar whether the information about nimlsp is accurate or not, because...