EmmyLuaCodeStyle
EmmyLuaCodeStyle copied to clipboard
fast, powerful, and feature-rich Lua formatting and checking tool.
Take this code block: ```lua --[[ hello world ]]-- ``` Run `Format` and EmmyLuaCodeStyle Style changes it to: ```lua --[[ poop crap ]] -- ``` Format a second time changes...
作者好, 是否考虑在 release 中也提供适用 aarch64 的 版本。 我们现在 正开发 x-cmd,x-cmd pkg 以portable 方式提供大量的 二进制工具,以这个为例子 https://www.x-cmd.com/pkg/exa 我们很希望 能将 emmy code style 加进去,这样方便 lua 的 开发者 可以 在命令行中实现 代码格式化。 我们发现 release 中少了...
The document was written when version 1.0.0 was released, and many versions have passed since then. Many new features have been released, but they are not mentioned in the document....
The [format config page](https://github.com/CppCXY/EmmyLuaCodeStyle/blob/master/docs/format_config_EN.md) is missing documentation for the following options: - `align_chain_expr` - `align_continuous_inline_comment` - `align_continuous_line_space` - `align_continuous_similar_call_args` - `break_before_braces` - `keep_indents_on_empty_lines` - `line_space_around_block` - `table_separator_style`
### Discussed in https://github.com/CppCXY/EmmyLuaCodeStyle/discussions/140 Originally posted by **MrZ626** September 12, 2023 ```lua if a then a() elseif b then b() elseif c then c() else d() end ``` 有时候我会这么写,但是目前的格式化风格好像不允许这种写法?翻了一圈没找着 会被格式化成...
- [ ] Use this [project](https://github.com/CppCXY/EmmyLua-LanguageServer2) instead of my LuaParser - [ ] refactor file structure - [ ] refactor format way It is expected to start next year
像这个文件[ninja_syntax.lua](https://github.com/actboy168/luamake/blob/master/scripts/ninja_syntax.lua),我已经设置了indent_style=space,但格式化之后缩进还是tab
Here are three tables that are indented like this using default settings: ```lua aaa = { 111, { 222, { 333, { 444 } } } } bbb = {...
Can an option to be added to support aligning commas with { and ( to enable this style: ``` local my_table = { foo , bar , baz } ```