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

Ctrl+Click on function broken since 1.3.20-IDEA231 #552

Open mherbold opened 1 year ago

mherbold commented 1 year ago

Environment(环境)

name version
IDEA version PhpStorm 2023.1.2
EmmyLua version All versions after 1.3.11-IDEA231
OS Windows 11

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

  1. Ctrl+Click on any table function

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

"No usages found in Project Files"

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

Take me to function declaration.

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

No

Any other comments?(其它说明)

The last version that this worked in was 1.3.11. Starting with 1.3.20 and all versions of EmmyLua after this, this feature is broken.

For example:

local contract = Contract.Create( ... )

When Ctrl+Click on the word "Create" above in 1.3.11 it will take me to the file and line where Contract.Create function is defined. Starting in 1.3.20 and up, it will say "No usages found in Project Files" instead.

Triple-Z commented 1 year ago

same problem when using EmmyLua 1.4.7-IDEA231

Shinzuh commented 1 year ago

Same problem

nsakharenko commented 1 year ago

Prev. plugin version (EmmyLua 1.4.3-IDEA231) https://plugins.jetbrains.com/plugin/9768-emmylua/versions/stable/343347 do work for me (IDEA 2023.1.2)

MoonLiGhTpro commented 1 year ago

same problem

rhoglund commented 1 year ago

Same problem for me. Navigation to any custom classes etc does not work anymore.

CppCXY commented 1 year ago

because 1.4.7 remove new index system, it may be necessary to wait until 2023.2 for the author to come out and handle it.

systemNEO commented 1 year ago

CTRL+CLICK works currently for object.method() or self.method() but not for self:method() in plugin version 1.4.7-IDEA231 in PHPStorm Build #PS-232.8660.205, built on July 28, 2023.

image

CppCXY commented 1 year ago

CTRL+CLICK works currently for object.method() or self.method() but not for self:method() in plugin version 1.4.7-IDEA231 in PHPStorm Build #PS-232.8660.205, built on July 28, 2023.

image

1.4.8 has been removed, so please download it from here https://github.com/EmmyLua/IntelliJ-EmmyLua/actions/runs/5777749632

XiconQoo commented 1 year ago

Prev. plugin version (EmmyLua 1.4.3-IDEA231) https://plugins.jetbrains.com/plugin/9768-emmylua/versions/stable/343347 do work for me (IDEA 2023.1.2)

This is working for me as well. Fresh install of IntelliJ.

IntelliJ IDEA 2023.2.2 (Community Edition) Build #IC-232.9921.47, built on September 12, 2023