-
Notifications
You must be signed in to change notification settings - Fork 45
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
jedi language server complain python 3.10 syntax #187
Comments
@kasfil nope, you're not missing anything! Sadly, it looks like pattern matching syntax isn't yet supported by Jedi.
Until that's resolved upstream, I recommend disabling jedi diagnostics if you're relying on the new pattern matching syntax.
|
@pappasam A small update here, since this repo is probably the biggest (and only big) user of the "syntax errors" feature of Jedi. At the moment it looks like that Python 10 syntax won't be supported for a while. This mostly won't really matter for autocompletion, goto renames, etc. I feel like we should seriously discuss just not having diagnostics in jedi-language-server, because it will likely not receive the amount of maintenance for now. I already have a solution ready for this problem in my Rust rewrite of Jedi, but that will take a few years until it finalizes. |
@davidhalter given When I get a moment, I'll remove |
@pappasam Thanks a lot! I feel like that's the most reasonable choice for now. You could also put it behind a feature flag or something similar. It kind of makes me a bit sad, given the amount of work that went into this feature, but the amount of work that goes into this is just too big for now... Thanks! |
I have jedi_language_server installed trough
pipx
and python 3.10but jedi complaining about new python
match
syntaxdid i miss some configuration?
The text was updated successfully, but these errors were encountered: