I like to alter the default colour scheme of the PowerShell ISE, specifically to make the script pane "inverted", i.e. light text on a dark background. Comments are coloured PaleGreen:
[PS]> ($psise.Options.TokenColors) | ?{$_.Key -eq "Comment"} | FT -AutoSize
Key Value
--- -----
Comment #FF98FB98
I also like to use #region ... #endregion
comments to allow me to collapse chunks of code.
When they are not collapsed, the #region
and #endregion
comments show in green like any other comment does, but once I collapse them they turn black, rendering them almost invisible on the dark background. Other sections (functions, etc.) don't chance colour when then they are collapsed.
Does anyone know if the colour of collapsed #region
and #endregion
comments can be set?