saem/vscode-nim

AutoComplete/nim suggest no picking up in windows

jmgomez opened this issue · 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

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

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 take a look at #75 , maybe it can help.

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 I end up using WSL. Not ideal but it does work pretty much out of the box there

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.