Skip to content

Releases: SublimeText/PowerShell

5.0.0 Contexts and Commands

25 Jan 18:57

Choose a tag to compare

This is a large syntax change with substantial modification to where some keywords are able to be used.

If you find bugs, especially egregious ones that break code highlighting further down in the file, please file an issue and include "v5" in the title.

Standout improvements

  • Commands are recognized without Verb-Noun format.

  • Command arguments are more conscientiously marked, including unquoted strings.

  • String contents are sometimes interpreted specially, though not in all cases. Some examples:

    • Here-strings beginning with using System are highlighted with C#.

    • Command argument strings recognize wildcards and path separators.

    • Single-quoted strings in certain cases are highlighted with Regular Expressions.

    • Other strings recognize some format placeholders.

  • using imports can only come at the beginning of a file.

  • meta scopes are used in more places, which doesn't typically affect highlighting, but sometimes has an effect on ST commands.

4.0.0 Rewrite in YAML

13 Jan 21:55
eb639ba

Choose a tag to compare

This is a sizable change to scope names more consistent with other Sublime Text syntaxes. The big rewrite at EditorSyntax for VS Code will not be compatible with Sublime Text, so we're cutting loose early.

This syntax definition is not perfect, but it's a marked improvement on what we had before.