File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,3 +22,13 @@ All notable changes to the "TriggerReactor-VSCode" extension will be documented
2222### Fixed
2323
2424- Fixed a ` FINNALY ` was not highlighted.
25+
26+ ## [ 1.0.2] - 2023-09-22
27+
28+ ### Added
29+
30+ - Add language highlighter ` SWITCH statements `
31+
32+ ### Fixed
33+
34+ - Fixed one line Executor was not highlighted, ex) CASE => #MESSAGE "a" <- not highlighted Executor
Original file line number Diff line number Diff line change 44 "description" : " Support for TriggerReactor scripts" ,
55 "icon" : " icons/TRGLogo.png" ,
66 "repository" : " https://github.com/Cupelt/triggerreactor-vscode" ,
7- "version" : " 1.0.1 -Release" ,
7+ "version" : " 1.0.2 -Release" ,
88 "publisher" : " TriggerReactor" ,
99 "engines" : {
1010 "vscode" : " *"
Original file line number Diff line number Diff line change 4343 "patterns" : [
4444 {
4545 "name" : " keyword.control.TriggerReactor" ,
46- "match" : " \\ b(IF|ELSE|ELSEIF|ENDIF|IS|WHILE|ENDWHILE|FOR|ENDFOR|TRY|CATCH|FINALLY|ENDTRY|LAMBDA|ENDLAMBDA)\\ b"
47- },
48- {
49- "name" : " keyword.control.TriggerReactor" ,
50- "match" : " \\ b(if|else|elseif|endif|is|while|endwhile|for|endfor|try|catch|finally|endtry|lambda|endlambda)\\ b"
46+ "match" : " \\ b(IF|ELSE|ELSEIF|ENDIF|IS|WHILE|ENDWHILE|FOR|ENDFOR|TRY|CATCH|FINALLY|ENDTRY|LAMBDA|ENDLAMBDA|SWITCH|CASE|DEFAULT|ENDSWITCH)\\ b"
5147 },
5248 {
5349 "name" : " entity.name.namespace" ,
5450 "match" : " \\ b(SYNC|ENDSYNC|ASYNC|ENDASYNC)\\ b"
5551 },
56- {
57- "name" : " entity.name.namespace" ,
58- "match" : " \\ b(sync|endsync|async|endasync)\\ b"
59- },
6052 {
6153 "name" : " keyword.control.ternary.TriggerReactor" ,
6254 "match" : " \\ ?|:"
135127 },
136128 "executors" : {
137129 "name" : " entity.other.inherited-class.triggerreactor" ,
138- "match" : " ^ \\ s* #[A-Z|a-z]+"
130+ "match" : " #[A-Z|a-z]+\\ s "
139131 },
140132 "placeholders" : {
141133 "name" : " variable.parameter" ,
You can’t perform that action at this time.
0 commit comments