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

Can't start mpfls client on VScode. #9

Open
badaxi opened this issue Dec 5, 2020 · 2 comments
Open

Can't start mpfls client on VScode. #9

badaxi opened this issue Dec 5, 2020 · 2 comments

Comments

@badaxi
Copy link

badaxi commented Dec 5, 2020

Using the built in extensions in VScode and after installation, when enabling the extension an error message occurs :

[Error - 23:41:06] Starting client failed
Launching server using command mpfls failed.

I have tried multiple things already, all my versions are up to date, the extension simply doesn't load.

@mattkemp
Copy link

Are you launching Visual Code by typing code . from a command prompt in the working directory?

I don't know why this is different from just opening Visual Code normally, but it got the language server running for me.

@gbouthenot
Copy link

Probably because mpf-ls has been installed into a virtualenv ?
When code call code . while being in the vitrtualenv, the vs extension can launch mpf-ls.
If you call code externally, the virtualenv is not activated and hence, mpf-ls cannot launch ?

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

3 participants