Add formatter support for Java using clang-format.

This commit is contained in:
Martín Lucas Golini
2024-06-10 19:21:28 -03:00
parent cdc7013191
commit 3d19f4903f

View File

@@ -13,8 +13,8 @@
"url": "https://prettier.io"
},
{
"language": ["c", "cpp", "objective-c"],
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$", "%.m$"],
"language": ["c", "cpp", "objective-c", "java"],
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$", "%.m$", "%.java$"],
"command": "clang-format --style=file $FILENAME",
"url": "https://clang.llvm.org/docs/ClangFormat.html"
},