LuaCoderAssist icon indicating copy to clipboard operation
LuaCoderAssist copied to clipboard

Auto format removes ';'

Open nyansen opened this issue 6 years ago • 2 comments

The plugin automatically removes all ';' at the end of a command during automatic formatting. But I need this because the LUA code is compressed and at the end everything is in one line. Is it possible to prevent the ';' from being removed? And is it possible to make the editor check if there are ';' at the end of a command?

nyansen avatar Jul 30 '18 11:07 nyansen

Currently, there is no way to prevent the ; from being removed, the code formatter is base on the lua-fmt and ; is removed after the ast build.

liwangqian avatar Aug 01 '18 15:08 liwangqian

Would this apply to trailing commas , as well or can they be kept in place?

mheguy avatar Dec 20 '18 21:12 mheguy