CppCXY

Results 408 comments of CppCXY

emmyluacodestyle is lua's only fully functional formatter with vscode support.

> hm, i use [stylua](https://github.com/JohnnyMorganz/StyLua) or what you mean by 'fully functional'? It's good to use stylua, so my explanation doesn't matter.

I have created a Rust-based luals port, which might meet your requirements. see https://github.com/LuaLS/lua-language-server-rust

vscode的AI补全触发都是在这一行的最后一个非标识符单词之后

闪退就用emmy new debug, 如果还是闪退, 建议编译个debug版本的调试器用VS调试一下, 这种闪退通常和unity版本无关, 应该是某些计算导致了lua的崩溃

这个项目 https://github.com/EmmyLua/EmmyLuaDebugger

I know some people use the setfenv function/_ENV variable to create functionality similar to `module` and `import`. I've even done this myself in the past, but ultimately it doesn't feel...

I think you can see: https://github.com/EmmyLuaLs/tree-sitter-emmyluadoc

> How did you test with LuaJIT? Did you remove all `` variables? I replace close to defer : ![image](https://github.com/user-attachments/assets/860a63a8-837f-4969-9d17-2ed9fabfc82e)