Skip to content

Tooling Visual Studio

Liu.Yandong.Hanks edited this page Aug 19, 2026 · 2 revisions

Visual Studio 扩展

AuroraScript for Visual Studio

工具链

Tooling

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.14 through <19.0, and requires .NET Framework 4.7.2 or 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 .as file after installation.

# 从源码构建 VSIX
dotnet build language-tools/AuroraScript.VisualStudio/AuroraScript.VisualStudio.csproj -c Release

Build the VSIX from source.

功能

Features

  • 语法着色:打开 .as 文件。
  • 智能感知:输入 Array.Path. 或已声明全局名。
  • 诊断:编辑或保存脚本后查看 Error List。
  • 悬停说明:悬停 API 名称。
  • 定义、引用与重命名:使用编辑器标准命令。
  • 内置 API 跳转:在内置对象或成员上执行 Go To Definition。
  • 脚本调试:使用 Persistence 和 Debug 优化设置配置源码级调试。
  • Syntax coloring: open an .as file.
  • 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 Persistence with 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.Persistence and Debug settings; OnlyRun does not provide equivalent debug symbols.

Clone this wiki locally