File tree Expand file tree Collapse file tree 7 files changed +67
-44
lines changed Expand file tree Collapse file tree 7 files changed +67
-44
lines changed Original file line number Diff line number Diff line change 1
- // A launch configuration that launches the extension inside a new window
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
1
{
6
2
"version" : " 0.2.0" ,
7
3
"configurations" : [
Original file line number Diff line number Diff line change 1
1
.vscode /**
2
2
.vscode-test /**
3
- .gitignore
4
- vsc-extension-quickstart.md
3
+ .gitignore
Original file line number Diff line number Diff line change 1
1
{
2
2
"comments" : {
3
- // symbol used for single line comment. Remove this entry if your language does not support line comments
4
3
"lineComment" : " //" ,
5
- // symbols used for start and end a block comment. Remove this entry if your language does not support block comments
6
4
"blockComment" : [ " /*" , " */" ]
7
5
},
8
- // symbols used as brackets
9
6
"brackets" : [
10
7
[" {" , " }" ],
11
8
[" [" , " ]" ],
12
9
[" (" , " )" ]
13
10
],
14
- // symbols that are auto closed when typing
15
11
"autoClosingPairs" : [
16
12
[" {" , " }" ],
17
13
[" [" , " ]" ],
18
14
[" (" , " )" ],
19
15
[" \" " , " \" " ],
20
16
[" '" , " '" ]
21
17
],
22
- // symbols that can be used to surround a selection
23
18
"surroundingPairs" : [
24
19
[" {" , " }" ],
25
20
[" [" , " ]" ],
Original file line number Diff line number Diff line change 3
3
"displayName" : " JunLang" ,
4
4
"description" : " " ,
5
5
"publisher" : " Jun-Software" ,
6
- "version" : " 1.0 .0" ,
6
+ "version" : " 1.1 .0" ,
7
7
"engines" : {
8
8
"vscode" : " ^1.54.0"
9
9
},
10
10
"categories" : [
11
- " Programming Languages"
11
+ " Programming Languages" ,
12
+ " Snippets"
12
13
],
13
14
"contributes" : {
14
15
"languages" : [{
21
22
"language" : " junlang" ,
22
23
"scopeName" : " source.junlang" ,
23
24
"path" : " ./syntaxes/junlang.tmLanguage.json"
24
- }]
25
+ }],
26
+ "snippets" : [
27
+ {
28
+ "language" : " junlang" ,
29
+ "path" : " ./snippets/junlang.if.code-snippets"
30
+ },
31
+ {
32
+ "language" : " junlang" ,
33
+ "path" : " ./snippets/junlang.loop.code-snippets"
34
+ }
35
+ ]
25
36
}
26
37
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "junlang.if" : {
3
+ "prefix" : " if" ,
4
+ "body" : [
5
+ " if $1" ,
6
+ " $2" ,
7
+ " end-if"
8
+ ],
9
+ "description" : " `junlang.if` snippets."
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "junlang.loop" : {
3
+ "prefix" : " loop" ,
4
+ "body" : [
5
+ " loop $1" ,
6
+ " $2" ,
7
+ " end-loop"
8
+ ],
9
+ "description" : " `junlang.loop` snippets."
10
+ }
11
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "$schema" : " https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json" ,
3
- "name" : " junlang" ,
4
- "patterns" : [
5
- {
6
- "include" : " #keywords"
7
- },
8
- {
9
- "include" : " #strings"
10
- }
11
- ],
12
- "repository" : {
13
- "keywords" : {
14
- "patterns" : [{
15
- "name" : " keyword.control.junlang" ,
16
- "match" : " \\ b(output|wrap|new|set|input|addition|subtraction|multiplication|division|equal|greater|less|equal_or_greater|equal_or_less|not|if|end-if|loop|end-loop)\\ b"
17
- }, {
2
+ "$schema" : " https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json" ,
3
+ "name" : " junlang" ,
4
+ "patterns" : [
5
+ {
6
+ "include" : " #keywords"
7
+ },
8
+ {
9
+ "include" : " #strings"
10
+ }
11
+ ],
12
+ "repository" : {
13
+ "keywords" : {
14
+ "patterns" : [{
15
+ "name" : " keyword.control.junlang" ,
16
+ "match" : " \\ b(output|wrap|new|set|input|addition|subtraction|multiplication|division|equal|greater|less|equal_or_greater|equal_or_less|not|if|end-if|loop|end-loop)\\ b"
17
+ }, {
18
18
"name" : " comment.line.junlang" ,
19
19
"begin" : " note" ,
20
20
"end" : " \n "
21
21
}]
22
- },
23
- "strings" : {
24
- "name" : " string.quoted.double.junlang" ,
25
- "begin" : " \" " ,
26
- "end" : " \" " ,
27
- "patterns" : [
28
- {
29
- "name" : " constant.character.escape.junlang" ,
30
- "match" : " \\\\ ."
31
- }
32
- ]
33
- }
34
- },
35
- "scopeName" : " source.junlang"
22
+ },
23
+ "strings" : {
24
+ "name" : " string.quoted.double.junlang" ,
25
+ "begin" : " \" " ,
26
+ "end" : " \" " ,
27
+ "patterns" : [
28
+ {
29
+ "name" : " constant.character.escape.junlang" ,
30
+ "match" : " \\\\ ."
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ "scopeName" : " source.junlang"
36
36
}
You can’t perform that action at this time.
0 commit comments