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

Extension fails to initialize on Windows while using lix-pm #100

Closed mrcdk closed 1 year ago

mrcdk commented 1 year ago

The extension fails to initialize on Windows if you are using lix-pm to manage the Haxe and libraries versions. I changed the lime.executable setting to lix run lime but it continues to spam the following message: Setting up Lime alias…

I've managed to "fix it" by commenting out the following block https://github.com/openfl/lime-vscode-extension/blob/e51e1efc1661f74cb8244dbee45d3d9a77ff7844/src/lime/extension/Main.hx#L690-L717 but I'm don't think that's the correct fix.

joshtynjala commented 1 year ago

Yeah, if you're using a custom executable, it shouldn't be trying to find Lime and set up its alias like that. I'll fix it.

joshtynjala commented 1 year ago

This should be cleared up when we release the next update.

mrcdk commented 1 year ago

Thanks! :smile: