Skip to content

Commit 0aed211

Browse files
committed
**style** Forbid user formatter to format code
Added a setting fo vscode so that if a contributor has a Java style formatter at user level, it won't be used to format the files of this project. This could result in a lot of changes due to reformatting also with few LOCs changed (happened to me). Maybe a common formatter should be defined and set?
1 parent 0659099 commit 0aed211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"java.configuration.updateBuildConfiguration": "automatic"
2+
"java.configuration.updateBuildConfiguration": "automatic",
3+
"java.format.enabled": false
34
}

0 commit comments

Comments
 (0)