-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Fix #8 Define defaults for Java editorconfig properties #9
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,8 @@ | |||
root = true | |||
|
|||
[*.java] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file stores the Java defaults
StandardCharsets.UTF_8)); | ||
|
||
resourcePropertiesService = ResourcePropertiesService.builder() // | ||
.defaultEditorConfig(javaDefaults) // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where the defaults from java-defaults.editorconfig
are used in the JdtFormatter
root = true | ||
|
||
[*] | ||
charset = utf-8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An empty .editorconfig file to test the defaults
@dyadix could you please review and eventually merge? |
No description provided.