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

Lime not recognizing imports, recognizes errors in file. #90

Closed tposejank closed 2 years ago

tposejank commented 2 years ago

I cloned a haxeflixel repository, I have 2 now, however when I opened it, it doesn't work.

"Lime completion setup failed. Is the lime command available? Try running "lime setup" or changing the "lime.executable" setting."

However, in the one that I didn't download, it works fine, and does recognize imports In the one that doesnt work, errors are still detected, but imports are all subrayed by the red line.

imagen_2021-11-17_075439

imagen_2021-11-17_075503

shimeji87 commented 2 years ago

Sorry for the super late reply, but it might be because you don't have the correct dependencies installed. Check the Project.xml and download any libraries you haven't before.

You probably already fixed your issues already, but just wanted to say this to prevent future cases of this.