PowerShell highlighting only highlights $ sign, not variable name #1350
-
Hello, I've decided to try out your theme, and I must say I really like it! I’m even planning to convince my boss to purchase a license — the theme looks great and definitely has a lot of potential. I wanted to ask about PowerShell support. I do some scripting from time to time, and I’ve noticed that in PowerShell files, only the $ sign is highlighted, not the full variable name (unlike with the default VS Code theme). Paths also seem to be highlighted differently. Interestingly, when I open Bash scripts, the highlighting is almost identical to the default theme — full variables are highlighted correctly, and the syntax feels more consistent overall. Is the PowerShell highlighting behavior intentional, or could it be a configuration issue on my side? I'll attach screenshots comparing your theme with the default one, so the difference is clear. Thanks again for the great work! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
After investigation we found an crucial difference between how scopes are assigned betweeb powershell and bash. The powershell behaves as expected. You can see in the textmate scopes, the last lines is showing punctuation and variable. The issue is with shellscript, both Registrazione.schermo.2025-07-10.alle.12.34.05.movThe only thing we can do while keeping consistency, is adding the same cyan color to the $ (punctuation) inside shellscript. Variables are using the intended color. This is the result: ![]() |
Beta Was this translation helpful? Give feedback.
-
Fixed in 1.7 August 2025 release |
Beta Was this translation helpful? Give feedback.
I tested the pre-release, and I’d personally suggest rolling back the cyan coloring for the $ sign in variables. Since $ is used for a wide range of things in shell scripts. Keeping the $ styling uniform (or neutral) while still applying color to actual builtin functions feels like a good middle ground for clarity and consistency.
Thanks again for being so responsive — really appreciate the attention to detail!