EmmyLua / IntelliJ-EmmyLua

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

Show local variables type hints #516

Open faseceroo opened 1 year ago

faseceroo commented 1 year ago

IDEA version | [2022.3 Community] EmmyLua version | [v1.3.8] OS | Windows 10]

I'm using EmmyLua with Unlua to create Unreal Engine scripts. I'm testing the type hints options:

hint2

It works great but local variables show very long hints like the following

hint1

Is there anything I can do to fix this behavior?

CppCXY commented 1 year ago

I know this is ugly, but for the current emmylua this is very difficult to change, and it is better not to open the local hint

faseceroo commented 1 year ago

No problem, I have deactivated local hints. Normally the right side of the code line indicates the type anyway. Thanks!