openfl / lime-vscode-extension

Visual Studio Code extension for OpenFL and Lime projects written in Haxe
https://marketplace.visualstudio.com/items?itemName=openfl.lime-vscode-extension
MIT License
27 stars 4 forks source link

Use haxelib.executable setting #80

Closed dpomier closed 3 years ago

dpomier commented 3 years ago

The Haxe extension now allows configuring the path (or command) to Haxelib, which is very handy for some projects.

Gama11 commented 3 years ago

Hm, this isn't really the right approach. The value of this config defaults to "auto" and is resolved dynamically through vshaxe's extension API, for instance via the lix extension. So the correct way to do this would be to expose that there, which is already the case for the haxe executable.

dpomier commented 3 years ago

Good catch :)

Thanks for the links. As you say it seems like Vshaxe could expose a HaxelibExecutable too.