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

AutoComplete/nim suggest no picking up in windows

Open jmgomez opened this issue 3 years ago • 6 comments

I have the exact same project in Windows and MacOs. While it works perfectly fine in MacOs, auto complete does not work at all in Windows.

Not sure where to start checking. Any help would be appreciated. Thanks

jmgomez avatar Apr 05 '22 13:04 jmgomez

I'm also running on windows, and it seems that auto complete works, both intra-file, and inter-file. Can you disclose the associated program versions of both computers? that is:

  • Vscode version
  • Nim's version
  • Extension version
  • Windows version / Mac version

I'm running

  • Windows 19044.1586 ,
  • VScode 1.66
  • Nim 1.6.4
  • Extension 0.1.25

Not sure if these make a difference, but it might be a starting point.

image

image

canelhasmateus avatar Apr 05 '22 14:04 canelhasmateus

Sure, on Windows I have:

  • Windows: Windows 10 Pro build 19041.1415
  • VS Code: 1.66.0
  • Ext 0.1.25
  • nim 1.6.4

Mac:

  • Monterey 12.0.1
  • VSCode 1.65.2
  • nim 1.6.4
  • Ext 0.1.25

I setup WSL against ubuntu with the same vs code front end and it does work fine (except the linter)

Thanks for showing it working btw!

jmgomez avatar Apr 05 '22 17:04 jmgomez

@jmgomez take a look at #75 , maybe it can help.

canelhasmateus avatar Apr 08 '22 22:04 canelhasmateus

It doesn't work here either. I've tried several solutions and nothing.

I also use Windows. I've tried several versions of Nim. I've already tried removing all other vscode extensions... Nothing worked.

I always tried to use this package but it never worked. What I get are several nimsuggest runs that increase as I edit the Nim code. But autocomplete, hover, etc. nothing works.

@jmgomez, did you manage to make it work?

rockcavera avatar Jul 04 '22 15:07 rockcavera

@rockcavera I end up using WSL. Not ideal but it does work pretty much out of the box there

jmgomez avatar Jul 06 '22 08:07 jmgomez

I was able to use the plugin satisfactorily, but not ideally.

I noticed that this plugin, unlike the one that inspired this one, only works if you add/open a folder to work directly in vscode. It doesn't work if you open a random .nim file.

Unfortunately it's an annoying limitation, because sometimes you just want to open a random file (no projects) and be happy coding in Nim.

rockcavera avatar Jul 06 '22 16:07 rockcavera