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

LuaLaTeX integration #554

Open kalekje opened 11 months ago

kalekje commented 11 months ago

Many people use Lua+LaTeX. A repo has been made to integrate LaTeX Lua functions into EmmyLua in VSCode, can you consider integrating the following into IntelliJ?

https://github.com/Josef-Friedrich/LuaTeX_Lua-API

Thanks

CppCXY commented 11 months ago

I have checked, this is the annotation for LuaLS, but in reality, EmmyLua cannot recognize all of these annotations. On the other hand, EmmyLua does not internally integrate these API documents. In fact, EmmyLua has many application API documents, mainly developed as plugins such as EmmyLua-Unity. Some may even become GitHub projects that you need to clone yourself, like OpenResty and Love2D. The current implementation of EmmyLua does not have a way to determine which API should be used based on the project, so internal integration is not ideal.

CppCXY commented 11 months ago

I am also working on integrating LuaLS into Intellij. you can check out my project Intellij-SumnekoLua. however, currently it can only be used in the IntelliJ Ultimate (IU) version and its functionality relies on JetBrains' work for completeness.