Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
5316328
Reorder and rename many contexts
michaelblyons Dec 4, 2025
1aaf558
Introduce a statements context
michaelblyons Dec 4, 2025
be846f3
Move comment-like contexts
michaelblyons Dec 4, 2025
f9806e0
Tighten attributes context
michaelblyons Dec 4, 2025
9bb0567
Rearrange groups
michaelblyons Dec 4, 2025
600f7a0
Move classes to statements
michaelblyons Dec 4, 2025
b3b62df
Comment out special handling of emails in strings
michaelblyons Dec 4, 2025
acd8463
Slot hashtables in among groups
michaelblyons Dec 4, 2025
16cb8aa
Require class stuff to at least be in a block
michaelblyons Dec 4, 2025
0f4d9da
Make a heading for operators
michaelblyons Dec 4, 2025
468b920
Switch to pop: 1
michaelblyons Dec 5, 2025
5c19b34
Move redirection to statements
michaelblyons Dec 5, 2025
d3cd164
Move the source function up to statements
michaelblyons Dec 5, 2025
5729037
Move begin/process/end/clean to script blocks
michaelblyons Dec 5, 2025
36d1637
Move attributes into groups and script blocks
michaelblyons Dec 5, 2025
62a7a8d
Add some formatting
michaelblyons Dec 5, 2025
8f474e9
Finish named contexts for string content
michaelblyons Dec 5, 2025
6e109d5
Activate the prototype context
michaelblyons Dec 5, 2025
2db88b3
Extract string tests to their own file
michaelblyons Dec 5, 2025
31ba93e
Fully qualify the string test assertions
michaelblyons Dec 5, 2025
81f911d
Test constants
michaelblyons Dec 5, 2025
1a2da7c
Call & a "background" operator
michaelblyons Dec 5, 2025
d5552bb
Move ! to symbol operators
michaelblyons Dec 5, 2025
a59cdf1
Improve type scopes
michaelblyons Dec 5, 2025
c372ed6
Refactor types
michaelblyons Dec 5, 2025
f8cef2f
Extract variable name lists
michaelblyons Dec 5, 2025
1bb4cfc
Move the members context
michaelblyons Dec 5, 2025
e01a883
Extract approved verbs to a variable
michaelblyons Dec 5, 2025
ab07e64
Sort function contexts
michaelblyons Dec 5, 2025
10c1df6
Add a dedicated using context
michaelblyons Dec 5, 2025
fbd0752
Delete TODO for Atom
michaelblyons Dec 5, 2025
dcb7203
Group commands contexts
michaelblyons Dec 5, 2025
15fd7a5
Add supplemental scopes to some documentation
michaelblyons Dec 5, 2025
4f67256
Embed C# in Add-Type strings
michaelblyons Dec 5, 2025
360df29
Add context-sensitive functions
michaelblyons Dec 5, 2025
87eb5b3
Add the PowerShell documentation Class samples
michaelblyons Dec 6, 2025
40e406c
Improve variable matches
michaelblyons Dec 6, 2025
5dcac75
Allow member access of groups
michaelblyons Dec 6, 2025
717260f
Refactor variables
michaelblyons Dec 6, 2025
2f2c4e4
Rename variables-without-members
michaelblyons Dec 6, 2025
2454ef6
fixup
michaelblyons Dec 6, 2025
f7506ff
Add context-sensitive classes
michaelblyons Dec 7, 2025
5642d9d
Name the anonymous member contexts
michaelblyons Dec 7, 2025
a3e3627
Organize major syntax sections
michaelblyons Dec 7, 2025
cd16140
Change C# context to use indicators
michaelblyons Dec 7, 2025
fa44286
Add labels
michaelblyons Dec 7, 2025
de1ea19
Move some reserved words to a not-in-use section
michaelblyons Dec 7, 2025
e314395
Add data sections
michaelblyons Dec 7, 2025
77e168c
Restrict workflow execution contexts to functions
michaelblyons Dec 7, 2025
3ec857f
Add null-aware operators and accessors
michaelblyons Dec 7, 2025
29094fd
Let script invocation start with a drive letter
michaelblyons Dec 7, 2025
d0e1c7b
Extract flow-like matches to named contexts
michaelblyons Dec 7, 2025
965b8d3
Sort the last two reserved words
michaelblyons Dec 7, 2025
6c145b0
Extract --% to a named context
michaelblyons Dec 7, 2025
35df225
Consolidate variable lookahead
michaelblyons Dec 7, 2025
d641093
Tweak expression execution order
michaelblyons Dec 7, 2025
fc87adc
Move the ternary operator to its rightful place
michaelblyons Dec 7, 2025
403bf11
Fix data section not popping
michaelblyons Dec 7, 2025
9df6d26
Fix functions not popping fast enough
michaelblyons Dec 7, 2025
e183fc7
Add naive string placeholder scopes
michaelblyons Dec 7, 2025
44d3cdf
Drop some unlikely string rules
michaelblyons Dec 8, 2025
b33a839
Make straight and curly quotes equivalent
michaelblyons Dec 8, 2025
31c2aa6
Extract C# identifiers to a variable
michaelblyons Dec 8, 2025
5a8733f
Add dedicated contexts for DSC
michaelblyons Dec 8, 2025
b84c856
Add dedicated contexts for workflows
michaelblyons Dec 8, 2025
39f0d8f
Use named contexts for group-likes
michaelblyons Dec 8, 2025
1cb5f7c
Update hashtable scopes
michaelblyons Dec 8, 2025
057d507
Rescope the source operator
michaelblyons Dec 8, 2025
577e3ad
Rescope the variable scope colon
michaelblyons Dec 9, 2025
77014c4
Recognize first statement as a command
michaelblyons Dec 8, 2025
644317e
Extract command ending sequences to a context
michaelblyons Dec 8, 2025
692cde2
Change command identifier for kicks
michaelblyons Dec 8, 2025
dec8f64
Mark scripts as functions after & or .
michaelblyons Dec 8, 2025
4ee51f0
Stack function scopes over strings
michaelblyons Dec 8, 2025
560d516
Test for background operator
michaelblyons Dec 8, 2025
f8703f9
Test string subexpression property access
michaelblyons Dec 8, 2025
963119f
Allow default value in function params
michaelblyons Dec 9, 2025
e1311dc
Recognize wildcards in unquoted strings
michaelblyons Dec 9, 2025
e43f4ae
Scope command arguments
michaelblyons Dec 9, 2025
3787a87
Allow indented comments in line continuation
michaelblyons Dec 9, 2025
82b9794
Add naive regex in single-quoted strings
michaelblyons Dec 9, 2025
d3537a9
Sort operators some more
michaelblyons Dec 9, 2025
cfe2024
Fix CLI args with assignment
michaelblyons Dec 9, 2025
7e7f4b3
Move and rename the stop-parsing token
michaelblyons Dec 9, 2025
91196f0
Indent more of the main test file
michaelblyons Dec 9, 2025
1bc064d
Use better patterns for path punctuation
michaelblyons Dec 9, 2025
bf73b42
Shuffle some tests
michaelblyons Dec 9, 2025
4582dd7
Add a meta scope for param blocks
michaelblyons Dec 9, 2025
f8ddc5e
Use regex strings in ValidatePattern
michaelblyons Dec 9, 2025
0504915
Tighten function name restrictions
michaelblyons Dec 9, 2025
f4ab0ef
Rescope pipes again
michaelblyons Dec 9, 2025
a94d9ed
Allow numbers to immediately follow operators
michaelblyons Dec 9, 2025
bd086a3
Move folders and update gitignore
michaelblyons Dec 9, 2025
2cb109e
Update the ISE color scheme
michaelblyons Dec 9, 2025
c293409
Merge branch 'master' into refactor
michaelblyons Dec 9, 2025
ea7133f
Cut the expression context duplication
michaelblyons Dec 10, 2025
4b2f3d5
Let pipe end the stop-parsing token
michaelblyons Dec 10, 2025
88f82de
Merge branch 'master' into refactor
michaelblyons Dec 11, 2025
60bcde3
Merge remote-tracking branch 'upstream/master' into refactor
michaelblyons Dec 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
*.pyc
*.cache

# Editor files
*.sublime-workspace

# Temporary/generated files
dist/
MANIFEST
*.YAML-tmLanguage

# Other
.idea
# Editor files
*.sublime-workspace

# Other
.idea
70 changes: 46 additions & 24 deletions ISE Nostalgia.sublime-color-scheme
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"blue5": "#0000ff",
"blue6": "#6d79de",
"blue7":"#21439C",
"teal": "#297a7a",
"green": "#006400",
"green2": "#06960e",
"grey": "#a9a9a9",
Expand All @@ -29,7 +30,7 @@
},
"globals":
{
"foreground": "var(purple)",
"foreground": "var(grey3)",
"background": "var(white)",
"caret": "var(grey2)",
// "invisibles": "var(grey2)",
Expand All @@ -49,44 +50,50 @@
},
{
"name": "Keyword",
"scope": "keyword, storage",
"foreground": "var(grey3)",
"scope": "keyword",
"foreground": "var(blue7)",
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "var(purple2)",
},
{
// ISE uses variable colors for constants, but let's not.
"name": "Built-in constant",
"scope": "constant.language",
"foreground": "var(blue4)",
},
{
"name": "Variable",
"scope": "variable.language, variable.other",
"scope": "variable.other.readwrite, variable.language",
"foreground": "var(red2)",
},
{
"name": "String",
"scope": "string",
"scope": "string.quoted",
"foreground": "var(red)",
},
{
"name": "String interpolation",
"scope": "constant.character.escape, string source",
"name": "String escape",
"scope": "constant.character.escape",
"foreground": "var(purple3)",
},
// {
// "name": "Function name",
// "scope": "entity.name.function, support.function.any-method",
// "foreground": "var(blue5)",
// },
// {
// "name": "Type name",
// "scope": "entity.name.type",
// "font_style": "underline",
// },
{
"name": "Attribute",
"scope": "support.function.attribute",
"foreground": "var(blue3)",
},
{
"name": "Function name",
"scope": "entity.name",
"foreground": "var(purple)",
},
{
"name": "Type name",
"scope": "meta.generic-name, support.type, storage.type - punctuation.definition",
"foreground": "var(teal)",
},
// {
// "name": "Inherited class name",
// "scope": "entity.other.inherited-class",
Expand All @@ -109,10 +116,20 @@
// "font_style": "italic",
// },
{
"name": "Library function",
"scope": "support.function",
"name": "Command",
"scope": "support.function, variable.function",
"foreground": "var(blue5)",
},
{
"name": "CLI option",
"scope": "variable.parameter.option",
"foreground": "var(blue7)",
},
{
"name": "CLI value",
"scope": "string.unquoted - meta.mapping.key",
"foreground": "var(purple)",
},
// {
// "name": "Library object",
// "scope": "support.class, support.type",
Expand All @@ -132,9 +149,14 @@
// "foreground": "var(blue7)",
// },
{
"name": "PowerShell: Assignment Operator",
"scope": "keyword.operator.assignment.powershell",
"foreground": "var(grey)",
"name": "Operator",
"scope": "keyword.operator, meta.brackets.indexer punctuation.section.brackets",
"foreground": "var(grey2)",
},
{
"name": "Argument separator",
"scope": "punctuation.separator",
"foreground": "var(grey2)",
},
{
"name": "Invalid",
Expand All @@ -146,6 +168,6 @@
"name": "Invalid trailing whitespace",
"scope": "invalid.deprecated.trailing-whitespace",
"background": "var(red3)",
}
]
},
],
}
Loading