Skip to content

Commit 4ac410c

Browse files
Add a 5.0 preview invitation (#212)
1 parent b8b55f3 commit 4ac410c

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"3.1.1": "messages/prerelease-invitation.md"
2+
"4.2.0": "messages/5.0.0-prerelease-invitation.md",
3+
"3.1.1": "messages/4.0.0-prerelease-invitation.md"
34
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ languages. This means your color scheme should start highlighting
66
similar concepts the same colors as you are used to in those other
77
languages.
88

9-
It is not perfect. And, as such, I'm inviting adventurous ST users to
9+
It is not perfect. And as such, I'm inviting adventurous ST users to
1010
try it out ahead of time. If that sounds like you, open your Package
1111
Control Settings (usually `Cmd/Ctrl`+`Shift`+`P`, "Preferences: Package
1212
Control Settings") and add `"PowerShell"` to the array for
@@ -17,4 +17,4 @@ highlighting further down in the file, please mention them at
1717
https://github.com/SublimeText/PowerShell/issues and include "v4" in
1818
the title.
1919

20-
Thank you. Be well.
20+
Thank you.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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

Comments
 (0)