EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.74k stars 292 forks source link

EmmyLua 1.4.7-IDEA231, automatic suggestions are not working #555

Open GhChancellor opened 1 year ago

GhChancellor commented 1 year ago

Hello with EmmyLua 1.4.7-IDEA231 and IntelliJ IDEA 2023.2, automatic suggestions are not working

Up until version IntelliJ-EmmyLua-1.3.11-IDEA231, automatic suggestions were working without any issues However, after updating to IntelliJ IDEA 2023.2, the plugin has become incompatible for now, I have downgraded

bye Lele

Ubuntu Mate 23.04

IntelliJ IDEA 2023.2 (Community Edition) Build #IC-232.8660.185, built on July 26, 2023 Runtime version: 17.0.7+7-b1000.6 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 6.2.0-25-generic GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true

Non-Bundled Plugins: com.jetbrains.packagesearch.intellij-plugin (232.8660.142) com.tang (1.4.7-IDEA231)

Kotlin: 232-1.9.0-IJ8660.185 Current Desktop: MATE

Current EmmyLua 1.4.7-IDEA231 ( not working ) Old EmmyLua IntelliJ-EmmyLua-1.3.11-IDEA231 ( working )

Gensando commented 1 year ago

Tried different versions, doesn't work exactly on version 1.4.7-IDEA231 , version 1.4.3-IDEA231 works fine

GhChancellor commented 11 months ago

version 1.4.3-IDEA231 doesn't work for me

Thank you

CppCXY commented 11 months ago

The situation is like this: In the past, when version 1.4.8 was released in 2023.2, it had similar functionality to version 1.3.8 and was generally usable (the 1.4.x series was introduced because version 1.3.8 had a persistent issue causing the IDE to freeze). However, the author later discovered some problems with this version and withdrew it. After withdrawing the version, the author became busy with work and basically forgot about it. I remind him about it every month. Previously, he mentioned to me that there is a conflict between IDEA's indexing mechanism and the current emmylua analysis, causing it to freeze, and substantial refactoring would be needed to fix it. I can give you a few suggestions. You can try downloading version 1.4.8 from Git Action, use intellij-sumnekoLua (although it may have limited functionality), or use VSCode with the emmylua plugin.