This is related to two settings:
The green syntax will only be displayed when you need to set to the following at the same time.
"editor.semanticHighlighting.enabled": true,
"python.languageServer": "Pylance",
That is, semantic highlighting is enabled, and the python language server is pylance.
The python language server setting defaults to "Default"
: Automatically select a language server: Pylance if installed and available, otherwise fallback to Jedi. So it is possible to get green syntax without modifying this setting, if pylance is available on your machine.
The default value of the "editor.semanticHighlighting.enabled"
setting is "configuredByTheme"
: Semantic highlighting is configured by the current color theme's semanticHighlighting
setting., so whether to display green syntax may also be related to the theme you use.
Via @wjandrea's comment below on another question:
I think this is related to the language server. If you still have Code installed, you could check by switching python.languageServer
from Pylance to Jedi. Pylance is not supported in unofficial builds.
If pyance is not available in VSCodium then green syntax is not available on it.
A similar effect may be achieved by referring to custom color themes.
"editor.semanticHighlighting.enabled": false
in your VS Code settings? Does VS Code then appear the same as the VS Codium appearance? – Irresponsible"editor.semanticHighlighting.enabled": true, "python.languageServer": "Pylance",
– Extortion