


I’m sure it’s easy but I’m simply missing some vital pieces it seems. Thanks for answering! Maybe you and others can help me wrap my head around how Haxe expects me to bundle things. This is how I’m compiling it (from tasks.json) "label": "JS Client (debug)", And that everything gets compiled in the JavaScript client. The goal is to be able to “go to definition” between all classes involved. Therefore, the JS client depends on Haxe Lib 1, which in turns depends on Haxe Lib 2. Haxe library 2 that is referred to by Haxe library 1.Haxe library 1 that is referred to by the JavaScript client.The structure of my project is as follows: I don’t see how that interacts with the language server in VS Code. Somebody told me I should use “haxelib dev”, but I didn’t exactly understand how that works.
#Runjs vscode how to
However, I don’t understand how to set the references between directories and their dependency on one another. In VS Code I understand I should use the Workspace feature. I used to have it in IntelliJ where one would add “Modules” to a project.

By “setting up” I mean having code navigation & compilation based on dependencies. Would greatly appreciate some help setting up what I think is a very simple project structure for most seasoned Haxe users of VS Code.
