-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add semantic syntax higlighting similar to pylance #237
Comments
Do you know if what you're referring to is Pylance's semantic highlighting feature? |
That seems to be exactly what I was referring to. |
Is there any news about this feature? |
probably blocking on red knot |
Pinging this to get some more attention - this is a needed feature for me! |
This comment has been minimized.
This comment has been minimized.
Hi where I can see the announcement? |
This comment has been minimized.
This comment has been minimized.
What does that mean? I can see that #438 and #11664 (ruff repo) are closed.. |
I'm not sure why #438 is closed as completed when Micha said that it's planned. As for astral-sh/ruff#11664, that is only one of many things related to red knot. It's meant to be a full type checker for python, so it is, understandably, a very large undertaking. You can see related issues/PRs by searching for the "red-knot" label. Note also that this repo is for the now less-used python server. It has been replaced by the native server that is built-in to ruff, which you should probably be using instead (see the documentation). |
Thank you for taking the time to explain all that. I'll keep an eye on red knot! |
Hi,
This is an enhancement proposal. Just wanted to know if it will be at all possible to color imported modules, classes (when they're used in type annotations), generics, and functions like VSCode PyLance does, or if it is out of the scope of this project.
Without PyLance:
With PyLance:
I feel like this can be very helpful to distinguish between what's being imported object is a class or a generic/type alias at a glance.
The text was updated successfully, but these errors were encountered: