Syntax colorization for imported classes and functions
See original GitHub issueCan this feature be available? It is already implemented, in part, in VStudio.
VSCode | VStudio |
---|---|
It makes code really confusing without it:
Designer
is a class which should be green and add_designer
a method that, in theory, should be yellow.
Also, designer_name
and designer_icon
are parameters that should be light blue in the function to differentiate from class fields and properties.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Syntax Highlight Guide | Visual Studio Code Extension API
Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords...
Read more >how to highlight imported functions in python code?
python-mode or elpy-mode in Emacs only highlight the basic Python library functions. If you work a lot with other libraries like numpy and ......
Read more >Color highlight function calls in VIM - Stack Overflow
I have something like that in my configuration, but it's quite language specific. For example for Golang, I have a ~/.vim/after/go.vim which ...
Read more >5. Syntax Highlighter and Color Settings Page
The first level of syntax highlighting is based on the lexer output, ... HighlighterColors; import com.intellij.openapi.editor.colors.
Read more >Python Syntax highlighting/colors are still broken? #65713
VSCode's Python syntax highlighting still broken after all plugins are ... import random import datetime import math class Mapping: def ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Holly molly that does exactly what I wanted. I don’t particularly care for the theme you mentioned given that the natural colors of Pylance are just perfect. Thanks!
If the library is untyped, you’re bound to get issues like these. But I personally would have expected that declaration to take precedence (you are explicitly saying that variable is
Guild | Mone
, per https://github.com/microsoft/pylance-release/issues/822, so a new issue would likely help.