Skip to content

Commit

Permalink
Add formatter support for Java using clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Jun 10, 2024
1 parent cdc7013 commit 3d19f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/assets/plugins/formatters.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 3d19f49

Please sign in to comment.