pragmagic / vscode-nim

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

Can't get it to work under MacOSX #42

Closed bluenote10 closed 7 years ago

bluenote10 commented 7 years ago

I'm using this extension successfully under Linux, but when trying to run the same setup under MacOSX, I can't get the linter/completion/go-to-definition features to work. I don't get any errors either, simply nothing happens in the moment where I expect these features. Features which don't need interaction with the compiler (like syntax highlighting) do work correctly.

Some details:

kosz78 commented 7 years ago

Could you please look at Dev Tools Log: image

bluenote10 commented 7 years ago

I figured out what was causing the issue: I modified my path in ~/.profile and apparently, in recent MacOSX versions, this affects only terminal sessions, but not applications launched from spotlight. I could solve the problem by modifying the path via /etc/paths, which seems to affect applications in general.