Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install bash-language-server as a non global package? #97

Closed
siddjain opened this issue Jan 14, 2019 · 1 comment
Closed

how to install bash-language-server as a non global package? #97

siddjain opened this issue Jan 14, 2019 · 1 comment

Comments

@siddjain
Copy link

ref: #94
some instructions on how to set the bashIde.path would have been nice.

anyway I installed the extension in non-global mode and have set bashIde.path to
/Users/sjain68/.vscode/extensions/mads-hartmann.bash-ide-vscode-1.3.3/node_modules/bash-language-server/bin

but I get the dreaded error in VS Code:
Can't find bash-language-server on your PATH

Originally posted by @siddjain in https://github.com/mads-hartmann/bash-language-server/issue_comments#issuecomment-454205868

@siddjain
Copy link
Author

for those who install it as a non-global package the bashIde.path should be set to:
/Users/sjain68/.vscode/extensions/mads-hartmann.bash-ide-vscode-1.3.3/node_modules/.bin/bash-language-server
this setting is available from Code -> Preferences -> Settings on the mac

you should have following structure

$ ls -al /Users/sjain68/.vscode/extensions/mads-hartmann.bash-ide-vscode-1.3.3/node_modules/.bin/bash-language-server
lrwxr-xr-x  1 sjain68  staff  35 Jan  7 08:17 /Users/sjain68/.vscode/extensions/mads-hartmann.bash-ide-vscode-1.3.3/node_modules/.bin/bash-language-server -> ../bash-language-server/bin/main.js

once i changed path to above the extension worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant