vscode-nim icon indicating copy to clipboard operation
vscode-nim copied to clipboard

autocompletion doesn't work

Open kobi2187 opened this issue 8 years ago • 4 comments

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?

kobi2187 avatar Nov 14 '17 08:11 kobi2187

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

kosz78 avatar Nov 14 '17 09:11 kosz78

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 avatar Nov 15 '17 08:11 kobi2187

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

kobi2187 avatar Nov 15 '17 08:11 kobi2187

@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.

ghost avatar Dec 02 '17 07:12 ghost