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

Check if the "lime" command is installed #11

Closed Gama11 closed 6 years ago

Gama11 commented 7 years ago

Right now, the extension just fails silently if that's not the case. It should show a helpful error to the user so he knows what's going on.

ibilon commented 7 years ago

Just had that issue

> Executing task: lime build neko <
/bin/bash: lime: command not found
The terminal process terminated with exit code: 127

I only have a bash alias for convenience but not the command. Lime (and all haxelibs) is installed in my home directory so adding a global executable doesn't make sense.

Could the extension run haxelib run lime instead? It's a lot more likely to succeed.

Gama11 commented 6 years ago

Closed by #36. You can now add this to your settings:

"lime.command": "haxelib run lime"