If possible, you can help me improve the English document
This project is an example of Lua code analysis\formatting\code diagnosis algorithm library and language service based on C++
The main pursuit of this project is reasonable formatting and diagnosis of various code styles
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.
- Document formatting
- Range formatting
- Code format check
- Code spell check
- Can be used as a lua library/cli tool/C++ parsing lua library/language server
- reimplement range formatting[0%]
- reimplement type formatting[0%]
- plugin[0%]
- Usage
- Introduction to formatting behavior
- How to configure formatting
- Code diagnosis configuration
- Disable format
- auto import configuration
Any pr or issue are welcome
If you want to compile the project yourself, make sure that your compiler can basically support C++20:
- VS2019 16.10 and above
- gcc 10 and above
- clang 10 and above
mkdir build && cd build
cmake ..
cmake --build .
Contributors