/angel-lsp

AngelScript Language Server for VSCode

Primary LanguageTypeScriptMIT LicenseMIT

AngelScript Language Server for VSCode

This extension provides useful features to make AngelScript development easier and faster.

sample.png

Features

This extension parses scripts and provides the following benefits.

  • Syntax Highlight for AngelScript
  • Autocompletion
  • Type Checking
  • Go to Definition
  • Find References
  • Symbol Renaming
  • Snippets
  • Formatter

Note: Since it is still under development, some features of AngelScript are not yet fully supported.

Getting Started

Once installed, the Language Server uses the file as.predefined to perform the analysis according to the application you are using.

Create and place as.predefined in the workspace directory.

folder_example.png

Write type definitions and function definitions for your application in as.predefined using the same syntax as in AngelScript.

This will give you symbol completion.

See examples below:

TODO

These features are still in the development stage.

  • Support for import statements
  • Hover to view details on symbols
  • Add more user settings
  • Handler checking
  • Code actions
  • Debugger

Issues and Contributions

Reports of problems and feature requests are welcome on GitHub Issues

Also, if you have as.predefined for a library you use, committing it as an example is highly appreciated.