I like to change the default color scheme for PowerShell ISE, in particular, to make the script panel “flipped”, that is, light text on a dark background. Comments painted by PaleGreen:
[PS]> ($psise.Options.TokenColors) | ?{$_.Key -eq "Comment"} | FT -AutoSize
Key Value
--- -----
Comment
I also like to use comments #region ... #endregionso that I can collapse pieces of code.
When they are not reset, comments #region, and #endregionare shown in green, as well as any other comment, but as soon as I befalls them, they turn black, making them almost invisible against the dark background. Other sections (functions, etc.) Do not have a random color when they are reset.
Does anyone know if the color of collapsed #regionand #endregioncomments can be set ?
source
share