This is a library providing type definitions for the API of the Haxe Visual Studio Code extension. The main focus is to allow for a smooth yet flexible integration with third-party build tools. To accomplish this, the API exposes the following functionality:
- Registration of new completion providers that are then selectable via a dropdown menu in the status bar:
Completion providers provide vshaxe with a list of compiler arguments to be used for code completion, so the extension can pass them on to the Haxe Language Server.
- If an extension contributes tasks, the following information that is available through the API should be respected: - Whether the compilation server should be used and at which port it can be reached. - The configured path to the Haxe executable. - The list of problem matchers. - The presentation options.
The entry point for interaction with the extension is
Vshaxe instance can be retrieved like this:
var vshaxe:Vshaxe = Vscode.extensions.getExtension("nadako.vshaxe").exports;