EmmyLua / IntelliJ-EmmyLua

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

Stack Overflow Errors #489

Closed aniket-tyagi-bmbl closed 1 year ago

aniket-tyagi-bmbl commented 1 year ago

Environment(环境)

name version
IDEA version Intellij Idea Ultimate 2022.2
EmmyLua version 1.3.7.2-IDEA222
OS macOS Monterey 12.4 (Apple M1 Pro)

What are the steps to reproduce this issue?(重现步骤?)

  1. Open a project (with thousands files)
  2. Start editing any lua file

What happens?(出现什么问题?)

Stack overflow errors. Eventually freezes the IDE.

What were you expecting to happen?(期望?)

No errors. No freezing.

Any logs, error output, etc?(有没有什么log, error输出?)

https://pst.klgrth.io/paste/62dza https://pst.klgrth.io/paste/xuf3s https://pst.klgrth.io/paste/wwvhr

Any other comments?(其它说明)

brittyazel commented 1 year ago

I am getting repeated and constant stack overflow errors. It is making EmmyLua unusable for me

tangzx commented 1 year ago

The latest version 1.4.+ should be OK. The reason for this series of problems is the index mechanism problem, which cannot be solved because there is no solution before. Now the index system has finally been redesigned.