EmmyLua / IntelliJ-EmmyLua

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

EmmyLua 插件导致 PyCharm 无法启动 #418

Closed xushangning closed 1 year ago

xushangning commented 3 years ago

Environment(环境)

name version
IDEA version PyCharm 2020.3.5
EmmyLua version 1.3.5.194-IDEA203
OS Arch Linux

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

在 PyCharm 中安装 EmmyLua 后重启

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

PyCharm 无法启动

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

正常启动

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

Error

Any other comments?(其它说明)

目前的解决办法是强制删除 EmmyLua 的安装文件夹。

xushangning commented 3 years ago

看来是因为插件冲突,希望该问题能够写进文档里。

@rulatir did you install another lua plugin(Luanalysis)?

Apparently yes, but I think it was PHPStorm, not me. I vaguely remember it suggesting Luanalysis as an alternative when it couldn't load EmmyLua, and I may have okayed that suggestion too quickly.

I managed to recover the IDE by manually adding com.tang to disabled_plugins.txt, after which I could use the settings dialog to uninstall the conflicting plugin and re-enable EmmyLua.

Originally posted by @rulatir in https://github.com/EmmyLua/IntelliJ-EmmyLua/issues/381#issuecomment-743776362