Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad27261

Browse files
committed
更新v1.0.2
1 parent c932ac7 commit ad27261

File tree

7 files changed

+99
-7
lines changed

7 files changed

+99
-7
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
*.vsix

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
### v1.0.0
33
- [+] 所有由 TabooLib 提供的公有动作 + 原生动作的代码补全
44
- [+] 更新代码介绍
5-
### V1.0..1
5+
### V1.0.1
66
- [+] 更新questengine提供的私人动作
77
- [M] 添加player更多关键词优化体验
88
- [M] location 修改补充
9-
- [M] 规范描述
9+
- [M] 规范描述
10+
### V1.0.2
11+
- [+] 简单支持.ks(Kether Script)文件

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@
3636
- 规范描述信息:(XX私人动作)····描述
3737
- 更新questengine提供的私人动作
3838

39+
### 1.0.2 (2023/1/17 19:58)
40+
41+
- 简单支持.ks(Kether Script)文件
42+
> 还没具体写语法相关的东西,只能识别这类文件罢了( 还在学着写
3943

images/icon.png

25 KB
Loading

language-configuration.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"comments": {
3+
// 用于单行注释的符号。如果您的语言不支持行注释,请删除此条目
4+
"lineComment": "//",
5+
// 用于开始和结束块注释的符号。如果您的语言不支持块注释,请删除此条目
6+
"blockComment": [ "/*", "*/" ]
7+
},
8+
// 用作括号的符号
9+
"brackets": [
10+
["{", "}"],
11+
["[", "]"],
12+
["(", ")"]
13+
],
14+
// 键入时自动关闭的符号
15+
"autoClosingPairs": [
16+
["{", "}"],
17+
["[", "]"],
18+
["(", ")"],
19+
["\"", "\""],
20+
["'", "'"]
21+
],
22+
// 可用于环绕选定内容的符号
23+
"surroundingPairs": [
24+
["{", "}"],
25+
["[", "]"],
26+
["(", ")"],
27+
["\"", "\""],
28+
["'", "'"]
29+
]
30+
}

package.json

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "kether-snippet",
3-
"displayName": "Kether-snippet",
4-
"description": "Kether动作补全",
3+
"displayName": "Kether支持",
4+
"description": "Kether动作补全以及支持KetherScript",
5+
"keywords": ["kether", "ks", "questengine","TabooLib"],
56
"publisher": "LiteCat",
6-
"version": "1.0.1",
7+
"version": "1.0.2",
8+
"icon": "images/icon.png",
79
"engines": {
810
"vscode": "^1.73.0"
911
},
@@ -12,18 +14,38 @@
1214
"url" : "https://github.com/LiteCat0905/Kether-snippet.git"
1315
},
1416
"categories": [
15-
"Snippets"
17+
"Snippets",
18+
"Programming Languages"
1619
],
1720
"contributes": {
1821
"snippets": [
1922
{
2023
"language": "yaml",
2124
"path": "./snippets/TabooLib公有动作.code-snippets"
2225
},
26+
{
27+
"language": "ketherscript",
28+
"path": "./snippets/TabooLib公有动作.code-snippets"
29+
},
2330
{
2431
"language": "yaml",
2532
"path": "./snippets/questengine私有动作.code-snippets"
33+
},
34+
{
35+
"language": "ketherscript",
36+
"path": "./snippets/questengine私有动作.code-snippets"
2637
}
27-
]
38+
],
39+
"languages": [{
40+
"id": "ketherscript",
41+
"aliases": ["Kether Script", "ketherscript"],
42+
"extensions": [".ks"],
43+
"configuration": "./language-configuration.json"
44+
}],
45+
"grammars": [{
46+
"language": "ketherscript",
47+
"scopeName": "source.ks",
48+
"path": "./syntaxes/ketherscript.tmLanguage.json"
49+
}]
2850
}
2951
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
3+
"name": "Kether Script",
4+
"patterns": [
5+
{
6+
"include": "#keywords"
7+
},
8+
{
9+
"include": "#strings"
10+
}
11+
],
12+
"repository": {
13+
"keywords": {
14+
"patterns": [{
15+
"name": "keyword.control.ketherscript",
16+
"match": "\\b(if|while|for|return)\\b"
17+
}]
18+
},
19+
"strings": {
20+
"name": "string.quoted.double.ketherscript",
21+
"begin": "\"",
22+
"end": "\"",
23+
"patterns": [
24+
{
25+
"name": "constant.character.escape.ketherscript",
26+
"match": "\\\\."
27+
}
28+
]
29+
}
30+
},
31+
"scopeName": "source.ks"
32+
}

0 commit comments

Comments
 (0)