Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haxe dependency explorer still shows (dev) version of library #56

Open
zagortenej opened this issue Apr 19, 2019 · 1 comment
Open

Haxe dependency explorer still shows (dev) version of library #56

zagortenej opened this issue Apr 19, 2019 · 1 comment

Comments

@zagortenej
Copy link

I cloned Lime from git and set the folder where I checked it out as library path for dev version in haxelib:

haxelib dev lime /path/to/lime

I created another project that had Lime as dependency and vshaxe dependency explorer shows lime (dev), as it should. After a while, maybe few days, I installed latest Lime version via haxelib and removed dev:

haxelib dev lime
haxelib update lime

Now Lime is at 7.3.0 but when I open my project I still see lime (dev) there and it still points to the folder where I cloned Lime (I didn't remove the folder). This hasn't changed after I restarted VSCode, my workstation, my parrot or my cat. I even left out for an hour to play ball and when I got back it was still there 😉

I notice when loading the project that very shortly dependency explorer shows Lime version 7.3.0 and then reverts to show lime (dev).

The only way I found to fix this is to switch from Lime "Haxe Completion Provider" (which I use by default when working with Lime projects) to Haxe completion provider and then switch back to Lime completion provider. Restarting VSCode does not work.

In any case, if this is not lime-vscode-extension bug, the trick with switching completion providers might help if someone else has the same issue.

@Gama11
Copy link
Member

Gama11 commented Apr 19, 2019

Have you recently rebuilt the target that's selected in the status bar? What does lime display <selected target> say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants