Skip to content

A Visual Studio Code extension that provides autocomplete for certain Fusion syntax.

License

Notifications You must be signed in to change notification settings

VirtualButFake/fusion-autocomplete

Repository files navigation

Fusion Autocomplete

A Visual Studio Code extension that provides autocomplete for certain Fusion syntax.

License CI Version Installs

Features

  • 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 inside OnChange.

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

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.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

A Visual Studio Code extension that provides autocomplete for certain Fusion syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published