Skip to content

Commit

Permalink
Merge pull request #2799 from hazendaz/formatting
Browse files Browse the repository at this point in the history
[ci] Fix readme for formatter tags
  • Loading branch information
hazendaz authored Feb 5, 2023
2 parents 032335b + c998b07 commit fce4bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Contributions

Mybatis-core is now being auto formatted. Given nature of some code logic with mybatis, it is more appropriate to force a formatting structure manually for snippets such as sql statements. To do so, add following blocks around code.

```// @formatter:off``` to start the block of unformatted code
```// @formatter:off``` to end the block of unformatted code
- ```// @formatter:off``` to start the block of unformatted code
- ```// @formatter:on``` to end the block of unformatted code

If comment sections need same behaviour such as javadocs, note that the entire block must be around entire comment as direct usage does not properly indicate that formatter treats it all as one comment block regardless.

0 comments on commit fce4bf9

Please sign in to comment.