IntelliJ-Luanalysis
IntelliJ-Luanalysis copied to clipboard
Still hangs when typing in long strings
Environment
Name | Version |
---|---|
IDEA version | IntelliJ IDEA 2021.2.3 |
Luanalysis version | 1.3.0 |
OS | Windows 10 2004 build 19041.928 x86_64 |
Preferences
Lua
Name | Setting |
---|---|
Language level | Lua 5.1 |
Type Safety
Name | Setting |
---|---|
Strict nil checks | ☑️ |
Unknown type (any) is indexable | ❎ |
Unknown type (any) is callabale | ❎ |
What are the steps to reproduce this issue?
-
start a long string function call like so:
print([[ ]])
-
start typing right before the closing brackets of the long string. keep typing, few newlines, etc.
-
the autocomplete will keep popping up and getting gradually more annoying until eventually it completely freezes the IDE
What were you expecting to happen?
I don't expect autocomplete for anything longer than a single word or a short string, but here it's trying to autocomplete literally the thing I'm typing in all of its multiline glory, and apparently once things get too complicated, the IDE implodes
Any logs, error output, etc?
nope. the IDE freezes but there are no errors
Any other comments?
same issue in EmmyLua: https://github.com/EmmyLua/IntelliJ-EmmyLua/issues/403