A Visual Studio Code extension that provides autocomplete for certain Fusion syntax.
- Autocomplete for class names, supporting all string formats ("", '', `` and [[]]), and calls both with and without brackets.
- Property autocomplete (dynamically updates, supports all non-
ReadOnly
properties) - Function autocomplete, automatically importing the required functions and grouping them in the code, in order to keep import order consistent.
- Automatic detection of SpecialKey functions, autocompleting these functions inside of your Fusion table.
- Automatic detection of function parameters, automatically completing for example event names inside
OnEvent
, and properties insideOnChange
.
This plugin relies on RegEx to detect Fusion syntax, and as such, it may not always be perfect. If you find any issues, please create an issue in this repository.
Getting started is extremely easy. All you need to do is install the extension from the Visual Studio Code Marketplace, and you're good to go!
If you wish to set up custom Fusion aliases, you may do so in the extension settings. You may also customize casing modes for imports, the Fusion version to use, grouping mode and more.
Contributions are always welcomed. Code should follow the Prettier and ESLint rules for this repository. To contribute, fork this repository, make your changes, and create a pull request. Please make sure to test your changes before creating a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.