Open geetmankar opened 11 months ago
Do you know if what you're referring to is Pylane's semantic highlighting feature?
Do you know if what you're referring to is Pylane's semantic highlighting feature?
That seems to be exactly what I was referring to.
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:
![image](https://github.com/astral-sh/ruff-lsp/assets/27027921/78174bed-9649-4ab2-9905-cb0f0a1337ee)
With PyLance:
![image](https://github.com/astral-sh/ruff-lsp/assets/27027921/c3df0077-f813-4e22-b55d-7de6518fd7d0)
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.