|
| 1 | +# Prelease invitation |
| 2 | + |
| 3 | +Hello PowerShell user. There are improvements underway to parse PS |
| 4 | +more consistently in Sublime Test. Some of these changes have the |
| 5 | +potential for regressions. A summary of changes is below. |
| 6 | + |
| 7 | +It is not perfect. And as such, I'm inviting adventurous ST users to |
| 8 | +try it out ahead of time. If that sounds like you, open your Package |
| 9 | +Control Settings (usually `Cmd/Ctrl`+`Shift`+`P`, "Preferences: Package |
| 10 | +Control Settings") and add `"PowerShell"` to the array for |
| 11 | +`install_prereleases` in the right-hand pane. |
| 12 | + |
| 13 | +If you find bugs, especially egregious ones that break code |
| 14 | +highlighting further down in the file, please mention them at |
| 15 | +https://github.com/SublimeText/PowerShell/issues and include "v5" in |
| 16 | +the title. |
| 17 | + |
| 18 | +Thank you. |
| 19 | + |
| 20 | + |
| 21 | +## Standout Improvements |
| 22 | + |
| 23 | +- Commands not in Verb-Noun format are now recognized. |
| 24 | + |
| 25 | +- Command arguments are more conscientiously marked, |
| 26 | + including unquoted strings. |
| 27 | + |
| 28 | +- String contents are sometimes interpreted specially, |
| 29 | + though not in all cases. Some examples: |
| 30 | + |
| 31 | + * Here-strings beginning with `using System` are |
| 32 | + highlighted with C#. |
| 33 | + |
| 34 | + * Command argument strings recognize wildcards and |
| 35 | + path separators. |
| 36 | + |
| 37 | + * Single-quoted strings in certain cases are |
| 38 | + highlighted with Regular Expressions. |
| 39 | + |
| 40 | + * Other strings recognize formatting placeholders. |
| 41 | + |
| 42 | +- `using` imports can only come at the beginning of a file. |
| 43 | + |
| 44 | +- `meta` scopes are used in more places, which doesn't |
| 45 | + typically affect highlighting, but sometimes has an |
| 46 | + effect on ST commands. |
0 commit comments