Codename Engine Autocomplete
Autocomplete for Codename XML Files (Only stages currently) & Haxe scripts (HScript)
Features
- Create stage with stage snippets and code completion
- PLANNED! ~~Completion for other XML file types~~
- Completion for hscript callbacks, functions, and variables (global scripts have different autocomplete than normal scripts)
- Hover documentation for classes and their members
- Type inference for variable dot-completion
- Supported script file extensions:
.haxe, .hscript, .hxs, .hxc, .pack
Installing VSIX
- Download the .vsix file from the latest release
- Open Visual Studio Code and select Extensions from the left bar
- At the top of Extensions menu click on three dots and select "Install From VSIX..."
- In the Install from VSIX window select downloaded .vsix file
- Restart Visual Studio Code
Release Notes
0.7.0 - DEV
- Added Class Support (on adding a new constructor OR getting a static variable/function)
- Added support for
.hscript, .hxs, .hxc, and .pack file extensions, they all behave like you're coding in a .hx file
- Added warnings on importing pre-imported libraries like
flixel.FlxSprite. You can check the full list here
Added supported classes:
| Class |
|
FunkinSprite |
|
FunkinSave |
|
CoolUtil |
|
Flags |
|
FunkinText |
|
WindowUtils |
|
MathUtil |
' |
HttpUtil |
|
DiscordUtil |
|
0.6.1
- Fixed regex for arrow functions
- Removed the command example from vscode :skull: (i left it in by accident)
- Changed repo url to the CodenameCrew one
0.6.0
- Changed Codename Autocomplete Prefix to "CNE"
- Added the default hscript events and callbacks (no type checking) (global scripts has different autocomplete than normal scripts)
0.5.1
Contributing
Any pull requests are appreciated, feel free to Pull Request any missing stuff!
NOTE : If you don't know how to install dependencies use npm install
Compiling and Editing the source
- Install npm
- Clone this repo with
git clone https://github.com/CodenameCrew/CNE-Autocomplete.git
- To install all the libraries run
npm install
- And to compile run
npm run compile (or press F5)
| |