-
Notifications
You must be signed in to change notification settings - Fork 0
Tooling Visual Studio
AuroraScript for Visual Studio
VSIX 当前支持 64 位 Visual Studio Community、Professional 和 Enterprise 17.14 到 <19.0,要求 .NET Framework 4.7.2 或更高版本。扩展包含 TextMate 语法、AuroraScript Language Server 和调试器相关组件。
The VSIX currently supports 64-bit Visual Studio Community, Professional, and Enterprise
17.14through<19.0, and requires .NET Framework4.7.2or later. It packages TextMate syntax support, the AuroraScript language server, and debugger-related components.
Installation
取得发布的 .vsix 后双击安装,关闭正在运行的 Visual Studio 实例并按安装器提示完成。安装后重新打开 .as 文件。
Obtain the released
.vsix, double-click it to install, close running Visual Studio instances, and follow the installer. Reopen an.asfile after installation.
# 从源码构建 VSIX
dotnet build language-tools/AuroraScript.VisualStudio/AuroraScript.VisualStudio.csproj -c ReleaseBuild the VSIX from source.
Features
- 语法着色:打开
.as文件。 - 智能感知:输入
Array.、Path.或已声明全局名。 - 诊断:编辑或保存脚本后查看 Error List。
- 悬停说明:悬停 API 名称。
- 定义、引用与重命名:使用编辑器标准命令。
- 内置 API 跳转:在内置对象或成员上执行 Go To Definition。
- 脚本调试:使用
Persistence和 Debug 优化设置配置源码级调试。
- Syntax coloring: open an
.asfile.- IntelliSense: type
Array.,Path., or a declared global.- Diagnostics: edit or save a script and inspect Error List.
- Hover: hover an API name.
- Definition, references, and rename: use the editor's standard commands.
- Built-in API navigation: invoke Go To Definition on a built-in object or member.
- Script debugging: use
Persistencewith Debug optimization for source-level debugging.
Common Questions
若只有着色没有补全,确认 VSIX 安装版本与 Visual Studio 版本匹配,并检查内置 Language Server 是否被安全软件隔离。脚本源码级调试需要 CompilationMode.Persistence 与 Debug 设置;OnlyRun 不提供同等调试符号。
If coloring works but completion does not, verify that the VSIX version matches Visual Studio and that security software has not isolated the bundled language server. Source-level script debugging requires
CompilationMode.Persistenceand Debug settings;OnlyRundoes not provide equivalent debug symbols.
AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License