-
Notifications
You must be signed in to change notification settings - Fork 0
Tooling Language Server
Liu.Yandong.Hanks edited this page Aug 21, 2026
·
3 revisions
Add diagnostics, completion, navigation, formatting, and semantic highlighting to LSP clients.
Applies to 4.0.0.
The project currently ships the language server as part of the Visual Studio extension. For custom integration, run the built executable as a stdio server and do not write non-LSP log text to its standard output.
dotnet run --project language-tools/AuroraScript.LanguageServer/AuroraScript.LanguageServer.csprojThe server indexes open files and workspace .as files. @global(); declaration files supply diagnostics, completion, and navigation for host globals; they are not importable modules.
@global();
declare func HOST_ADD(left, right);
declare const HOST_NAME;
- Diagnostics: open an invalid
.asfile and let the client show diagnostics. - Completion: request completion after
Array.. - Hover: hover
Path.joinfor its signature and description. - Definition: go to definition from an import name or function call.
- Formatting: invoke the client's Format Document command.
Related pages: Language Guide, Script API, and Visual Studio extension.
- Language Guide for language semantics.
- AuroraScript for Visual Studio for the packaged Visual Studio experience.
AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License