Heya’ :). Would greatly appreciate some help setting up what I think is a very simple project structure for most seasoned Haxe users of VS Code. By “setting up” I mean having code navigation & compilation based on dependencies.
I have a multi-directory Haxe project. I used to have it in IntelliJ where one would add “Modules” to a project. In VS Code I understand I should use the Workspace feature. However, I don’t understand how to set the references between directories and their dependency on one another. Somebody told me I should use “haxelib dev”, but I didn’t exactly understand how that works. I don’t see how that interacts with the language server in VS Code.
The structure of my project is as follows:
- Haxe library 2 that is referred to by Haxe library 1.
This is how I’m compiling it (from tasks.json)
"label": "JS Client (debug)", "type": "shell", "command": "npx", "args": [ "haxe", "build.hxml", "-js", "export/run.js" ],