castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
424 stars 25 forks source link

Command Prefix? #244

Open jherdman opened 2 years ago

jherdman commented 2 years ago

My development environment runs inside of a Nix powered shell. My instance of Solargraph is available via this command nix-shell --run 'bundle exec solargraph'. I tried using the solargraph.commandPath config option to no avail. Is there another option I should try?

mkaito commented 1 year ago

Since the plugin uses a separate login shell, trying to load the nix shell environment through something like direnv doesn't work either.

See this comment for a few details on the way it is run https://github.com/castwide/vscode-solargraph/issues/108#issuecomment-487359460