You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lee's syntax highlighter is based on the V2 parser api and I'm using the V3 api which has much more information but doesn't classify tokens in the same way.
In PSReadline I've made an attempt at adding token kinds I think are most useful. I'm not interested in replicating V2's list, but I'll consider adding specific ones if you ask.
PSReadline supports some of those V2 kinds:
Attribute is Type in PSReadline (I'm not sure it's useful to color types and attributes differently)
(CommandParameter? Setting of the 'Parameter' token doesn't seem to have effect here)
'-ea' and '-match' in:
ls $configsFolder -ea Ignore | where BaseName -match $Dev
Lee Holmes's syntax highlighter http://www.leeholmes.com/blog/2009/02/03/more-powershell-syntax-highlighting/ lists more tokens available for coloring. Here are the tokens that are missing:
Attribute
CommandParameter
CommandArgument
Grouper
Member
StatementSeparator
Property
The text was updated successfully, but these errors were encountered: