We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前 OI-wiki 使用 clang-format 来对代码做自动格式化, 然而目前的 .clang-format 配置中只配置了 C++ 代码的, 而没有配置 Java 等语言, 这导致其他语言代码的格式有一些需要改进和统一的部分, 比如目前 OI-wiki 中 Java 代码的缩进是 4 个空格, 而 C++ 的是 2 个空格
在 .clang-format 中添加 Java 等语言的相应配置
No response
The text was updated successfully, but these errors were encountered:
feat(.clang-format): Java support
1512a48
resolve #4429
Successfully merging a pull request may close this issue.
我遇到的问题是
目前 OI-wiki 使用 clang-format 来对代码做自动格式化, 然而目前的 .clang-format 配置中只配置了 C++ 代码的, 而没有配置 Java 等语言, 这导致其他语言代码的格式有一些需要改进和统一的部分, 比如目前 OI-wiki 中 Java 代码的缩进是 4 个空格, 而 C++ 的是 2 个空格
我希望能有这样的解决方案
在 .clang-format 中添加 Java 等语言的相应配置
我觉得这些备选方案也可以接受
No response
The text was updated successfully, but these errors were encountered: