EmmyLua / VSCode-EmmyLua

Lua IDE/Debugger Plugin for VSCode
637 stars 89 forks source link

Not working with Unlua #118

Closed faseceroo closed 1 year ago

faseceroo commented 1 year ago

Hi. I'm using EmmyLua with Unlua to create Unreal Engine scripts. It works perfectly well with the version of EmmyLua for Intellij. But this version for VSCode gets stuck loading any Unlua script folder (+ intellisense folder) at 99% and never finishes.

I'm still using Intellij version because of this but I like VSCode more. There must be something different in handling project loading between the two versions.

faseceroo commented 1 year ago

Thanks for the update. Playing around with it I think I found the cause: is the java version. Is not working while using the latest version from java.com.

But it works by using the java version from Intellij, to do this I setup the path in "settings.json"

"emmylua.java.home": "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.3.1/jbr"

Working great now :)