Better (and updated) native Powershell support
-
Powershell syntax highlight needs update. For example all cmdlet keywords should be like this:
^add- ^clear- ^close- ^copy- ^enter- ^exit- ^find- ^format- ^get- ^hide- ^join- ^lock- ^move- ^new- ^open- ^optimize- ^pop- ^push- ^redo- ^remove- ^rename- ^reset- ^resize- ^search- ^select- ^set- ^show- ^skip- ^split- ^step- ^switch- ^undo- ^unlock- ^watch- ^backup- ^checkpoint- ^compare- ^compress- ^convert- ^convertfrom- ^convertto- ^dismount- ^edit- ^expand- ^export- ^group- ^import- ^initialize- ^limit- ^merge- ^mount- ^out- ^publish- ^restore- ^save- ^sync- ^unpublish- ^update- ^approve- ^assert- ^complete- ^confirm- ^deny- ^disable- ^enable- ^install- ^invoke- ^register- ^request- ^restart- ^resume- ^start- ^stop- ^submit- ^suspend- ^uninstall- ^unregister- ^wait- ^debug- ^measure- ^ping- ^repair- ^resolve- ^test- ^trace- ^connect- ^disconnect- ^read- ^receive- ^send- ^write- ^block- ^grant- ^protect- ^revoke- ^unblock- ^unprotect- ^use-This way all supported Ver-Noun combinations are automatically highlighted. Also we need support for comparison operators like:
-eq
-ne
-gt
-ge
-lt
-le
-Like
-NotLike
-Match
-NotMatch
-Contains
-NotContains
-In
-NotIn
-ReplaceThose should have their own class and those should be highlighted so that also the minus sign is highligted.
Also what is needed is to have support (and own class) for [someword] syntax. This way for example [bool]$istrue = $true the word βboolβ is highlighted like in Visual Studio. Also there are more keywords that is needed for syntax highligting like:
βbegin process end throw trap data dynamicparam param in exitβ
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login