Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
369b06c
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 28, 2026
00f5ab7
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
68be355
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
122fd7b
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
00e3b88
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
21fa9b6
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
669d94d
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
79b382a
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
ebb5b04
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
c359171
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
2921ad1
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
6475fde
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 29, 2026
541d4d1
chore: remove test file
jzy-chitong56 Jul 29, 2026
8e8c082
chore: remove test file
jzy-chitong56 Jul 29, 2026
7a13b56
Update package-lock.json
jzy-chitong56 Jul 29, 2026
52ec285
fix: 只加载标准库+已打开文件,hover时兜底解析当前文件
jzy-chitong56 Jul 29, 2026
8428f8a
fix: hover时确保所有已打开文件已解析,添加调试日志
jzy-chitong56 Jul 29, 2026
e3023a6
fix: 支持.eai扩展名,统一所有provider的扩展名判断
jzy-chitong56 Jul 29, 2026
1f19864
chore: 清理冗余调试日志,保留必要的功能性修复
jzy-chitong56 Jul 29, 2026
3545a07
feat: 添加 additionalExtensions 配置项,支持用户自定义额外扩展名
jzy-chitong56 Jul 29, 2026
e081776
i18n: 汉化所有设置项的描述文本
jzy-chitong56 Jul 29, 2026
6af3398
Update package.json
jzy-chitong56 Jul 29, 2026
45eba54
Create pjass-readme.txt
jzy-chitong56 Jul 29, 2026
5ff8d74
Add files via upload
jzy-chitong56 Jul 29, 2026
b8642d2
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
b8dcaba
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
746b96a
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
5da2785
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
7bc6f8d
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
4bbbe0e
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
fbe34a9
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
ae94eab
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
389318a
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
5fe2d84
feat: VSCode JASS插件功能扩展
jzy-chitong56 Jul 31, 2026
4d2c8cc
更新 package.json
jzy-chitong56 Aug 4, 2026
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 35 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@
"jass.diagnostic": {
"type": "boolean",
"default": true,
"description": "(Test) diagnostic support,does not support including Lua and pre-processing code"
"description": "(测试)诊断支持,不支持包含 Lua 和预处理代码的文件"
},
"jass.literal.completion": {
"type": "boolean",
"default": false,
"description": "Enable literal completion suggestions (string, number, mark). Default: false (disabled) to reduce clutter."
"description": "启用字面值补全建议(字符串、数字、四字码)。默认:关闭,以减少干扰。"
},
"jass.literal.hover": {
"type": "boolean",
"default": true,
"description": "Enable literal hover and definition navigation (string, number, mark). Default: true (enabled)."
"description": "启用字面值悬停提示和定义跳转(API、函数、变量、字符串、数字、四字码)。默认:开启。"
},
"jass.keywordDefinition": {
"type": "boolean",
"default": false,
"markdownDescription": "When enabled, **Go to Definition** (e.g. Ctrl+click) on a JASS/vJass **keyword** opens the built-in keyword doc in a Webview. When disabled (default), keyword clicks do not use this path so normal symbol navigation is unaffected. Reload the window after changing this option."
"markdownDescription": "启用后,在 JASS/vJass **关键字**上执行**转到定义**(例如 Ctrl+点击)会在内置 Webview 中打开关键字文档。禁用(默认)时,关键字点击不会走此路径,因此不影响正常符号跳转。修改此选项后需重新加载窗口。"
},
"jass.hint": {
"type": "boolean",
"default": false,
"description": "Enable hint support for function parameters and method calls. This is an experimental feature."
"description": "启用函数参数和方法调用的提示支持。这是一项实验性功能。"
},
"jass.apiVersion": {
"type": "string",
Expand All @@ -87,49 +87,64 @@
"2.02",
"2.03"
],
"markdownDescription": "Warcraft III API version preference for completion behavior. In legacy versions (`1.20/1.24/1.26a/1.27/1.27a`), APIs marked by `@since` newer than selected version are filtered out. In other versions, newer APIs are de-prioritized. Items without version tags are unchanged."
"markdownDescription": "用于补全行为的魔兽争霸 III API 版本偏好。在旧版本(`1.20/1.24/1.26a/1.27/1.27a`)中,`@since` 标记晚于所选版本的 API 将被过滤掉。在其他版本中,较新的 API 将降低优先级。没有版本标记的项目保持不变。"
},
"jass.compiler.pjassPath": {
"type": "string",
"format": "file",
"default": "",
"description": "pjass.exe 路径 (用于 JASS 语法检查). 留空则使用扩展内置版本 (out/extern/pjass/pjass.exe)",
"scope": "machine-overridable"
"description": "pjass.exe 路径用于 JASS 语法检查)。留空则使用扩展内置版本",
"scope": "machine"
},
"jass.compiler.commonJ": {
"type": "string",
"format": "file",
"default": "",
"description": "common.j 路径 (用于显示中文 API 注释). 留空则使用扩展内置版本 (static/common.j)",
"scope": "machine-overridable"
"description": "common.j 路径用于显示中文 API 注释)。留空则使用扩展内置版本",
"scope": "machine"
},
"jass.compiler.blizzardJ": {
"type": "string",
"format": "file",
"default": "",
"description": "Blizzard.j 路径 (用于显示中文 API 注释). 留空则使用扩展内置版本 (static/blizzard.j)",
"scope": "machine-overridable"
"description": "Blizzard.j 路径用于显示中文 API 注释)。留空则使用扩展内置版本",
"scope": "machine"
},
"jass.compiler.commonAi": {
"type": "string",
"format": "file",
"default": "",
"description": "common.ai 路径 (用于显示中文 API 注释). 留空则使用扩展内置版本 (static/common.ai)",
"scope": "machine-overridable"
"description": "common.ai 路径用于显示中文 API 注释)。留空则使用扩展内置版本",
"scope": "machine"
},
"jass.compiler.checkCommonJ": {
"type": "string",
"format": "file",
"default": "",
"description": "编译检查用的 common.j 路径. 留空则使用 jass.compiler.commonJ 路径",
"scope": "machine-overridable"
"description": "编译检查用的 common.j 路径留空则使用 jass.compiler.commonJ 路径",
"scope": "machine"
},
"jass.compiler.checkBlizzardJ": {
"type": "string",
"format": "file",
"default": "",
"description": "编译检查用的 Blizzard.j 路径. 留空则使用 jass.compiler.blizzardJ 路径",
"scope": "machine-overridable"
"description": "编译检查用的 Blizzard.j 路径留空则使用 jass.compiler.blizzardJ 路径",
"scope": "machine"
},
"jass.compiler.checkCommonAi": {
"type": "string",
"format": "file",
"default": "",
"description": "编译检查用的 common.ai 路径. 留空则使用 jass.compiler.commonAi 路径",
"scope": "machine-overridable"
"description": "编译检查用的 common.ai 路径。留空则使用 jass.compiler.commonAi 路径。",
"scope": "machine"
},
"jass.additionalExtensions": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "额外识别的 JASS 文件格式(不含点,如 \"lua\"、\"eai\" 等)。添加后这些扩展名的文件会被当作 JASS 文件处理,支持语法高亮、悬停提示、跳转定义等功能。修改后需重新加载窗口生效。"
}
}
},
Expand Down
23 changes: 23 additions & 0 deletions src/extern/pjass/pjass-readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
pjass 07.11.2007 (v 1.0k)
A lightweight and fast Jass2 parser for bison/yacc
by Rudi Cilibrasi
Sun Jun 8 00:51:53 CEST 2003
thanks to Jeff Pang for the handy documentation that this was based
on at http://jass.sourceforge.net/
Released under the BSD license

To use this program, list the files you would like to parse in order.
If you would like to parse from standard input (the keyboard), then
use - as an argument. If you supply no arguments to pjass, it will
parse the console standard input by default.

To test this program:
pjass common.j common.ai Blizzard.j

You can find news about this program and updates at
http://www.wc3campaigns.net/showthread.php?t=75239 and
http://jass.sourceforge.net/

Please send comments to
Rudi Cilibrasi
cilibrar@ofb.net
Binary file added src/extern/pjass/pjass.exe
Binary file not shown.
Loading