Skip to content

Commit ee5c11b

Browse files
committed
introduce editor support
1 parent f47d5d5 commit ee5c11b

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,31 @@
22

33
[English doc](README_EN.md)
44

5+
## 编辑器支持
6+
7+
vscode:
8+
[vscode-EmmyLuaCodeStyle](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-codestyle)
9+
[vscode-Lua](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)
10+
11+
intellij:
12+
[intellij-EmmyLuaCodeStyle](https://plugins.jetbrains.com/plugin/21973-emmyluacodestyle)
13+
14+
neovim:
15+
[Lua Language Server](https://github.com/LuaLS/lua-language-server)
16+
517
## 项目介绍
618

7-
该项目是基于C++实现的lua代码解析\格式化\代码诊断算法库和语言服务实例
19+
该项目`不是lua代码格式的规范`, 而是基于C++实现的lua代码解析\格式化\代码诊断算法库和语言服务实例
820

9-
该项目主要追求的是合理的格式化,多样的代码风格诊断
21+
该项目主要追求的是合理的格式化,多样的代码风格
1022

1123
该项目除了提供语言服务实例,也提供独立的命令行工具CodeFormat,他能用于批量的代码格式化和代码风格检查。
1224
## Feature
1325

1426
* 支持lua5.1, lua5.2, lua5.3, lua5.4, luajit
1527
* 文档格式化
1628
* 范围格式化
29+
* 命名风格检查
1730
* 代码格式检查
1831
* 代码拼写检查
1932
* 可以作为lua库/cli工具/C++解析lua库/语言服务使用

README_EN.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@
22

33
If possible, you can help me improve the English document
44

5+
## Editor Support
6+
7+
vscode:
8+
[vscode-EmmyLuaCodeStyle](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-codestyle)
9+
[vscode-Lua](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)
10+
11+
intellij:
12+
[intellij-EmmyLuaCodeStyle](https://plugins.jetbrains.com/plugin/21973-emmyluacodestyle)
13+
14+
neovim:
15+
[Lua Language Server](https://github.com/LuaLS/lua-language-server)
16+
517
## Project Introduction
618

7-
This project is an example of Lua code analysis\formatting\code diagnosis algorithm library and language service based on C++
19+
The project `is not a specification for the Lua code format`, this project is an example of Lua code analysis\formatting\code diagnosis algorithm library and language service based on C++
820

921
The main pursuit of this project is reasonable formatting and diagnosis of various code styles
1022

0 commit comments

Comments
 (0)