EmmyLua / IntelliJ-EmmyLua

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

no OO support #543

Closed ScottIngram closed 1 year ago

ScottIngram commented 1 year ago

Environment(环境)

name version
IDEA version IntelliJ IDEA 2023.1.2 Build #IU-231.9011.34, built on May 15, 2023
EmmyLua version 1.3.20-IDEA231
OS OSX 12.6.5

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

  1. use OO syntax with a colon :
  2. function Foo:Bar()
  3. self:Bar()
  4. try to use code navigation of IntelliJ and click self:Bar()

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

InteliJ has no idea where is Bar()

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

InteliJ to jump from self:Bar() to the function definition of Foo:Bar()

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

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.) none.

Any other comments?(其它说明)

see pix timer-1 timer-2 timer-3 timer-4

CppCXY commented 1 year ago

it is a bug of 1.3.20, please rollback to idea 2022.3

ScottIngram commented 1 year ago

that fixed it for me. Thanks!

CDAGaming commented 12 months ago

@CppCXY Any word on a fix? Experiencing this issue as well...

CppCXY commented 12 months ago

@CppCXY Any word on a fix? Experiencing this issue as well...

downgrade emmylua version to 1.4.6, maybe it's not available in the plugin store, try searching for it on Git Actions.

CDAGaming commented 12 months ago

Nice, that worked like a charm, thank you!