Maybe someone can help me with a little problem in Visual Studio Code, which drives me crazy... ;-/ ...
The following worked for me:
settings.json:"workbench.colorCustomizations": {
"editor.foreground": "#aabbcc"
}
Save settings.json
Choose a different color theme. All you need to do is open the selector menu and navigate to a different theme. As soon as I did this, the foreground customization took effect.
System info: