Skip to content

Commit 05c63cb

Browse files
committed
improve stm8s cosmic project
1 parent 935b1cc commit 05c63cb

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

lang/syntax/lkf.tmLanguage.json

+11
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@
131131
},
132132
{
133133
"include": "#section_name"
134+
},
135+
{
136+
"include": "#eide_var"
134137
}
135138
]
136139
}
@@ -151,6 +154,14 @@
151154
"name": "support.function"
152155
}
153156
}
157+
},
158+
"eide_var": {
159+
"match": "\\$\\{\\w+\\}",
160+
"captures": {
161+
"0": {
162+
"name": "variable"
163+
}
164+
}
154165
}
155166
}
156167
}
File renamed without changes.
197 KB
Binary file not shown.

src/OperationExplorer.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,14 @@ export class OperationExplorer {
393393
},
394394
{
395395
label: '8051 Empty Project (Keil C51 Compiler)',
396-
detail: '8051 general project',
396+
detail: '8051 empty project',
397397
templateName: 'mcs51',
398398
type: 'C51'
399399
},
400400
{
401401
label: 'STM8 Empty Project (COSMIC Compiler)',
402-
detail: 'stm8 general project',
403-
templateName: 'cosmic_stm8',
402+
detail: 'stm8 empty project',
403+
templateName: 'cosmic_stm8_empty',
404404
type: 'C51'
405405
},
406406
];
@@ -438,9 +438,9 @@ export class OperationExplorer {
438438
type: 'ANY-GCC'
439439
},
440440
{
441-
label: 'STM8 COSMIC Quickstart',
442-
detail: 'stm8 general quickstart project (COSMIC STM8 Compiler)',
443-
templateName: 'cosmic_stm8',
441+
label: 'STM8S COSMIC Quickstart',
442+
detail: 'stm8s quickstart project (STM8S003,STM8S005,STM8S103) (COSMIC STM8 Compiler)',
443+
templateName: 'stm8s_cosmic_quickstart',
444444
type: 'C51'
445445
},
446446
{

0 commit comments

Comments
 (0)