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

Support pyright-langserver from python package #1086

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geigerzaehler
Copy link

In my project I’m using the pyright Python package as a dependency for type checking on CI. I would like to use the same version in my editor, but setting pyright.server: "pyright-langserver" does not work.
The pyright-langserver binary provided by the pyright Python package is a Python script and not a NodeJS script.

I implemented it so that only a custom pyright-langserver is started as a binary but maybe we also want to start the included server as a binary to make the code simpler.

The `pyright-langserver` provided by the [`pyright` Python
package](https://pypi.org/project/pyright/) is a Python script and not a
NodeJS script.
@fannheyward
Copy link
Owner

But this breaks custom node-based pyright-langserver feature.

@geigerzaehler
Copy link
Author

But this breaks custom node-based pyright-langserver feature.

Would you like to keep these features? Do you have some ideas how we can work around this?

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

Successfully merging this pull request may close these issues.

None yet

2 participants