Add semantic token modifier to built-in functions #561
Labels
enhancement
New feature or request
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Feature request:
add a modifier to the
function
tokens that correspond to Python's built-in functions (print, dir, vars, open, etc.).I'd like to assign the new semantic token type to
support.function.builtin.python
.Situation
Before I installed this extension, I had a theme that automatically colored the Python built-in functions differently than regular functions. With semantic highlighting enabled, the built-in functions look no different than user-defined functions, and there currently isn't a way to disable semantic highlighting on a per-token basis.
Suggestion
I would like it so that the tokens for the built-in functions (print, dir, vars, open, etc.) get an extra modifier added to them, such as the standard 'defaultLibrary' modifier, so I can adjust my settings to make them colored differently.
The text was updated successfully, but these errors were encountered: