Visual Studio Code Support for Lime/OpenFLThe Lime extension for Visual Studio Code adds code completion, inline documentation, populates the Haxe dependency tree and provides build, clean, test and (other) tasks automatically. This depends on the Haxe extension, and requires Haxe 3.4.2 or greater. You should also have Lime installed and properly set up. Opening a folder that contains a About LimeLime is a flexible, cross-platform framework for native desktop, mobile and console development, and Flash, HTML5 and WebAssembly. OpenFL is a productive 2D library built on Lime. More information about Lime and OpenFL are available at http://www.openfl.org FeedbackFor questions, comments or concerns, please visit the forums at http://community.openfl.org Using Development BuildsInstall Visual Studio CodeGo to https://code.visualstudio.com/download and install Disable auto-updatesOpen Visual Studio Code, then go to "Preferences" > "Settings". This will open a text editor. In the window, add the following value:
This will prevent an auto-update mechanism that will install a release version of vshaxe and lime-vscode-extension, breaking the development version Install and build this extensionIn the "extensions" directory:
Build the extensionIf you do not want to debug the extension, you should build it at least once:
Development workflowOtherwise, you can open the "lime-vscode-extension" directory using Visual Studio Code. This enables a development workflow, where you can use Ctrl+Shift+B (Cmd+Shift+B on Mac) to recompile the extension. Hit F5 to begin debugging. This opens a second Visual Studio Code window with the extension enabled. Errors, log output and other data will be reported back to the "Debug Console" in the first window. Using the extensionOpen a folder that contains a Lime project file, and the extension should become active. The lower-left part of the window should include status bar items for the current build target, configuration (release, debug or final) as well as an option for additional flags or defines. You can change them by clicking, and selecting a new option in the pop-up. Code completion should be working, but may require a update or build first. You should be able to use Ctrl+Shift+B (Cmd+Shift+B on Mac) to access the |