lix-pm / lix.vscode

Visual Studio Code extension for lix
MIT License
17 stars 1 forks source link

Support global lix installations #1

Closed Gama11 closed 5 years ago

Gama11 commented 5 years ago

Should actually not be too hard, would just need to find the location of the global haxe.cmd / haxelib.cmd scripts somehow.

You would also need to be able to choose between local and global in the "Initialize Project" command.

gene-pavlovsky commented 5 years ago

I'd like to be able to use (keep using) my global lix installation, too.

Gama11 commented 5 years ago

npx lix works fine for global installations too, right?

0alfa commented 2 years ago

image

npm config get prefix should be npm bin -g ?

https://github.com/lix-pm/lix.vscode/blob/master/src/HaxeInstallationProvider.hx#L88