pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
235 stars 38 forks source link

autocompletion doesn't work #72

Open kobi2187 opened 6 years ago

kobi2187 commented 6 years ago

Nim Extension version: 0.5.27 (27 Sep 2017)

VSCode version: Version 1.19.0-insider Commit 0fbdfff167653b233231259ceb3109f0931887ef Date 2017-11-09T06:19:28.857Z Shell 1.7.9 Renderer 58.0.3029.110 Node 7.9.0 Architecture x64

On linux mint.

What other information can I give to figure out the problem?

kosz78 commented 6 years ago

Open Help->Toggle Developer Tools and copy log information from Console view

kobi2187 commented 6 years ago

I see many lines like these:

raw.marked.js:15 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. raw.marked.js:15 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. raw.marked.js:15 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. ... ... ...

opening "raw.marked.js" shows what looks like a markdown parser in js.

kobi2187 commented 6 years ago

if you need better interaction trying to debug this, please contact me by email: kobi2187 at gmail

ghost commented 6 years ago

@kobi2187 Do you have nimsuggest in your PATH?

I also had this issue of autocompletion not working but it was because I had compiled nim from source but forgot to compile nimsuggest.

This extension does not provide any warning/error/notification if nimsuggest is not found. @kosz78 IMO It would be better to show an error in that case.