File tree
15 files changed
+200
-8
lines changed- 3rd
- meta/3rd
- love2d/library
- lovr/library
15 files changed
+200
-8
lines changedSubmodule EmmyLuaCodeStyle updated 74 files
- CodeFormat/src/CodeFormat.cpp+37-1
- CodeFormat/src/LuaFormat.cpp+14-8
- CodeFormat/src/LuaFormat.h+2-2
- CodeFormat/src/LuaWorkspaceFormat.cpp+36-1
- CodeFormat/src/LuaWorkspaceFormat.h+5
- CodeService/src/LuaEditorConfig.cpp+22-9
- CodeService/src/LuaFormatter.cpp+102-49
- LuaParser/src/LuaAstNode/AssignStatement.cpp
- LuaParser/src/LuaAstNode/Attribute.cpp
- LuaParser/src/LuaAstNode/BinaryExpression.cpp
- LuaParser/src/LuaAstNode/BinaryOperator.cpp
- LuaParser/src/LuaAstNode/Block.cpp
- LuaParser/src/LuaAstNode/BreakStatement.cpp
- LuaParser/src/LuaAstNode/CallArgList.cpp
- LuaParser/src/LuaAstNode/CallExpression.cpp
- LuaParser/src/LuaAstNode/Chunk.cpp
- LuaParser/src/LuaAstNode/ClosureExpression.cpp
- LuaParser/src/LuaAstNode/Comment.cpp
- LuaParser/src/LuaAstNode/DoStatement.cpp
- LuaParser/src/LuaAstNode/EmptyStatement.cpp
- LuaParser/src/LuaAstNode/Error.cpp
- LuaParser/src/LuaAstNode/Expression.cpp
- LuaParser/src/LuaAstNode/ExpressionList.cpp
- LuaParser/src/LuaAstNode/ExpressionStatement.cpp
- LuaParser/src/LuaAstNode/ForBody.cpp
- LuaParser/src/LuaAstNode/ForList.cpp
- LuaParser/src/LuaAstNode/ForNumber.cpp
- LuaParser/src/LuaAstNode/ForStatement.cpp
- LuaParser/src/LuaAstNode/FunctionBody.cpp
- LuaParser/src/LuaAstNode/FunctionStatement.cpp
- LuaParser/src/LuaAstNode/GeneralOperator.cpp
- LuaParser/src/LuaAstNode/GotoStatement.cpp
- LuaParser/src/LuaAstNode/Identify.cpp
- LuaParser/src/LuaAstNode/IfStatement.cpp
- LuaParser/src/LuaAstNode/IndexExpression.cpp
- LuaParser/src/LuaAstNode/IndexOperator.cpp
- LuaParser/src/LuaAstNode/KeyWord.cpp
- LuaParser/src/LuaAstNode/LabelStatement.cpp
- LuaParser/src/LuaAstNode/LiteralExpression.cpp
- LuaParser/src/LuaAstNode/LocalFunctionStatement.cpp
- LuaParser/src/LuaAstNode/LocalStatement.cpp
- LuaParser/src/LuaAstNode/LongComment.cpp
- LuaParser/src/LuaAstNode/NameDefList.cpp
- LuaParser/src/LuaAstNode/NameExpression.cpp
- LuaParser/src/LuaAstNode/NameIdentify.cpp
- LuaParser/src/LuaAstNode/Param.cpp
- LuaParser/src/LuaAstNode/ParamList.cpp
- LuaParser/src/LuaAstNode/PrimaryExpression.cpp
- LuaParser/src/LuaAstNode/RepeatStatement.cpp
- LuaParser/src/LuaAstNode/ReturnStatement.cpp
- LuaParser/src/LuaAstNode/ShebangComment.cpp
- LuaParser/src/LuaAstNode/ShortComment.cpp
- LuaParser/src/LuaAstNode/TableExpression.cpp
- LuaParser/src/LuaAstNode/TableField.cpp
- LuaParser/src/LuaAstNode/TableFieldSep.cpp
- LuaParser/src/LuaAstNode/UnaryExpression.cpp
- LuaParser/src/LuaAstNode/UnaryOperator.cpp
- LuaParser/src/LuaAstNode/WhileStatement.cpp
- LuaParser/src/LuaParser.cpp+14-4
- Test/test_script/format_text/wait_format/function.lua+12
- Test/test_script/format_text/wait_format_by_option/.editorconfig+4
- Test/test_script/format_text/wait_format_by_option/remove_empty_header_and_footer_lines_in_function-eq-true.lua+29
- Test/test_script/format_text/wait_format_by_option/remove_expression_list_finish_comma-eq-true.lua+5
- Test/test_script/format_text/wait_format_by_option_should_be/.editorconfig+4
- Test/test_script/format_text/wait_format_by_option_should_be/remove_empty_header_and_footer_lines_in_function-eq-true.lua+21
- Test/test_script/format_text/wait_format_by_option_should_be/remove_expression_list_finish_comma-eq-true.lua+5
- Test/test_script/format_text/wait_format_should_be/function.lua+12
- Util/src/FileFinder.cpp+19-13
- Util/src/StringUtil.cpp+66
- include/CodeService/LuaCodeStyleOptions.h+5-2
- include/CodeService/LuaFormatter.h+5-2
- include/LuaParser/LuaParser.h+1-1
- include/Util/StringUtil.h+4
- lua.template.editorconfig+4
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
968 | 976 | | |
969 | 977 | | |
970 | 978 | | |
| |||
1656 | 1664 | | |
1657 | 1665 | | |
1658 | 1666 | | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
1659 | 1673 | | |
1660 | 1674 | | |
1661 | 1675 | | |
| |||
1835 | 1849 | | |
1836 | 1850 | | |
1837 | 1851 | | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
1838 | 1858 | | |
1839 | 1859 | | |
1840 | 1860 | | |
| |||
2021 | 2041 | | |
2022 | 2042 | | |
2023 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2024 | 2050 | | |
2025 | 2051 | | |
2026 | 2052 | | |
| |||
2089 | 2115 | | |
2090 | 2116 | | |
2091 | 2117 | | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
2092 | 2124 | | |
2093 | 2125 | | |
2094 | 2126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
| |||
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
106 | | - | |
| 114 | + | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
| |||
0 commit comments