| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,54 @@ | |||
| 1 | 1 | # Change Log | |
| 2 | 2 | ||
| 3 | + ## 0.12.0 | ||
| 4 | + | ||
| 5 | + `NEW` 当代码超过指定行宽时会自动折行,该行为可能会产生不如意的代码排版。这时候建议ctrl z之后手动排版再格式化。 | ||
| 6 | + | ||
| 7 | + `FIX` 修复索引表达式中涉及长字符串时,格式化导致的语法错误 | ||
| 8 | + | ||
| 9 | + ## 0.11.4 | ||
| 10 | + | ||
| 11 | + `CHANGE` 更新基本词典 | ||
| 12 | + | ||
| 13 | + `NEW` 支持字符串中的拼写检查 | ||
| 14 | + | ||
| 15 | + ## 0.11.3 | ||
| 16 | + | ||
| 17 | + `CHANGE` 更新词典 | ||
| 18 | + | ||
| 19 | + `CHANGE` 语言服务按lsp3.17版本重新设计, 诊断采用lsp规定的方式诊断。 | ||
| 20 | + | ||
| 21 | + ## 0.11.2 | ||
| 22 | + | ||
| 23 | + `CHANGE` 更新lua常用词词典 | ||
| 24 | + | ||
| 25 | + ## 0.11.0 | ||
| 26 | + | ||
| 27 | + `CHANGE` 重构了语言服务的代码组织,暂时移除插件对补全的影响,插件不在代码补全时提示模块了 | ||
| 28 | + | ||
| 29 | + `CHANGE` 优化了模块诊断时提示的内容 | ||
| 30 | + | ||
| 31 | + `NEW` 提供针对lua优化的标识符单词拼写检查算法 | ||
| 32 | + | ||
| 33 | + `NEW` 提供了新的格式化选项: | ||
| 34 | + * `remove_empty_header_and_footer_lines_in_function` 允许移除函数的上面和下面多余空行 | ||
| 35 | + * `remove_expression_list_finish_comma` 允许移除函数调用时最后一个逗号(这本身是一个语法错误) | ||
| 36 | + | ||
| 37 | + ## 0.10.3 | ||
| 38 | + | ||
| 39 | + `NEW` 命令行工具支持使用通配符过滤 | ||
| 40 | + | ||
| 41 | + ## 0.10.2 | ||
| 42 | + | ||
| 43 | + `CHANGE` 默认情况下namedef和attribute会有一个空格的距离 | ||
| 44 | + | ||
| 45 | + `NEW` 行布局支持使用`maxLine:$n`指定与下一行的最大行距 | ||
| 46 | + | ||
| 47 | + `NEW` 行宽允许设定为unset | ||
| 48 | + | ||
| 49 | + `CHANGE` 函数调用的排版方式变更,更符合lua中的一些使用习惯 | ||
| 50 | + | ||
| 51 | + | ||
| 3 | 52 | ## 0.10.0 | |
| 4 | 53 | ||
| 5 | 54 | `NEW` vscode插件端实现配置EmmyluaCodeStyle开关`模块诊断`,`代码风格诊断`, `模块补全`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,18 @@ | |||
| 9 | 9 | 该项目主要追求的是合理的格式化,多样的代码风格诊断 | |
| 10 | 10 | ||
| 11 | 11 | 该项目除了提供语言服务实例,也提供独立的命令行工具CodeFormat,他能用于批量的代码格式化和代码风格检查。 | |
| 12 | + ## Feature | ||
| 13 | + | ||
| 14 | + * 文档格式化 | ||
| 15 | + * 范围格式化 | ||
| 16 | + * 代码格式检查 | ||
| 17 | + * 代码拼写检查 | ||
| 18 | + * 可以作为lua库/cli工具/C++解析lua库/语言服务使用 | ||
| 19 | + | ||
| 12 | 20 | ## RoadMap | |
| 13 | - * new linter[进度...新建文件夹] | ||
| 14 | - * code quality check[%0] | ||
| 21 | + | ||
| 22 | + * 重写范围格式化[0%] | ||
| 23 | + * 重新实现type formatting[0%] | ||
| 15 | 24 | * plugin[0%] | |
| 16 | 25 | ||
| 17 | 26 | ## 文档 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,19 +8,28 @@ This project is an example of Lua code analysis\formatting\code diagnosis algori | |||
| 8 | 8 | ||
| 9 | 9 | The main pursuit of this project is reasonable formatting and diagnosis of various code styles | |
| 10 | 10 | ||
| 11 | - In addition to providing language service examples, the project also provides an independent command line tool CodeFormat, which can be used for batch code formatting and code style checking. | ||
| 11 | + In addition to providing language service examples, the project also provides an independent command line tool CodeFormat, which can be used for batch code formatting and code style checking. | ||
| 12 | + | ||
| 13 | + ## Feature | ||
| 14 | + | ||
| 15 | + * Document formatting | ||
| 16 | + * Range formatting | ||
| 17 | + * Code format check | ||
| 18 | + * Code spell check | ||
| 19 | + * Can be used as a lua library/cli tool/C++ parsing lua library/language server | ||
| 20 | + | ||
| 12 | 21 | ## RoadMap | |
| 13 | - * new linter[0%] | ||
| 14 | - * code quality check[0%] | ||
| 22 | + * reimplement range formatting[0%] | ||
| 23 | + * reimplement type formatting[0%] | ||
| 15 | 24 | * plugin[0%] | |
| 25 | + | ||
| 16 | 26 | ## Document | |
| 17 | 27 | * [Usage](docs/usage_EN.md) | |
| 18 | 28 | * [Introduction to formatting behavior](docs/format_action_EN.md) | |
| 19 | 29 | * [How to configure formatting](docs/format_config_EN.md) | |
| 20 | 30 | * [Code diagnosis configuration](docs/diagnosis_config_EN.md) | |
| 21 | 31 | * [auto import configuration](docs/auto_import_config_EN.md) | |
| 22 | - # Contribute | ||
| 23 | - | ||
| 32 | + ## Contribute | ||
| 24 | 33 | Any pr or issue are welcome | |
| 25 | 34 | ||
| 26 | 35 | ## Build | |
| Back | FazBrowse Home | New Git URL |
0 commit comments