DragonScript Language SupportThis extension provides language server support for the The DragonScript repository can be found here: Latest API documentation can be found here: Main use is for creating games using the Module API documentation and Usage pages on the Wiki can be found here:
The DragonScript Script Language can be used standalone (using the "dsi" binary)
or as embedded language using a The Language is The language server supports:
Drag[en]gine Game Engine DragonScript ModuleThis extension supports the Preview ImagesRequirementsTo edit DragonScript no additional requirements are required. To edit Drag[en]gine projects using the Extension Settings
String type value containing the path to Drag[en]gine installation. Use empty string to auto-detect (default). Set this path if the Drag[en]gine Game Engine is not installed in the default path. It is recommended to set this value on global level.
Boolean type value indicating if the workspace requires Enable this parameter on workspace level for scripts using the Drag[en]gine Game Engine.
List of directories (strings) to scan for source files. Typically scripts are located in one directory (default workspace root). Use empty list to disabled DragonScript support for workspace or specific directory. The default value is ['.'] scanning the entire workspace directory for source files. Set this parameter on workspace or directory level. If set on directory level you can disable source file scanning on a per directory basis, for example for data directories containing no source code.
List of base packages. If an entry is a directory it is scanned for .ds files. If the entry is a DELGA file (.delga) it is scanned for .ds files. The default value is []. Base packages allow creating projects based on other projects. The requiresPackageDragengine is such a base package which has a separate parameter. Typically this list contains the .delga file of the base game or application project. Set this parameter on workspace or directory level. If set on directory level you can disable base packages on a per directory basis, for example for data directories containing no source code. SupportReport issues to https://github.com/LordOfDragons/vscode-langext-dragonscript/issues or join the Discord channel to ask for help. Release Notes2.1.0Various bug fixes, hardenings and these improvements:
2.0.0Release with language server support:
Added support to detect and use installed Drag[en]gine Game Engine DragonScript modules 1.0.0Initial release with support for syntax highlighting without language server. |