This is a VSCode extension that exists solely to aid the development of the vshaxe extension.
-
haxe-formatter test file highlighting
haxe-formatter uses a custom
.hxtest
file extension for unit test definitions. These files are highlighted by the debug tools: -
Cursor Byte Offset Status Bar Item
The debug tools add a status bar item displaying the current cursor byte offset when in a Haxe file. Haxe
--display
queries require the cursor byte offset as an argument, making this feature very useful when isolating and reproducing bugs.
-
Navigate to the extensions folder (
C:\Users\<username>\.vscode\extensions
on Windows,~/.vscode/extensions
otherwise) -
Clone this repo:
git clone --recursive https://github.com/vshaxe/vshaxe-debug-tools
. -
Change current directory to the cloned one:
cd vshaxe-debug-tools
. -
Install the dependencies:
npm install
-
To build everything:
npx lix run vshaxe-build --target all
-
After modifying and rebuilding the extension itself, restart VSCode, reload the window or run a debug instance with F5 (standard vscode workflow).