-
Notifications
You must be signed in to change notification settings - Fork 134
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
configure codeStyles for intellij import #2015
Conversation
Generate changelog in
|
// Just add the default configuration nodes on top of whatever nodes already exist | ||
// We could be better about this, but IDEA will mostly resolve the duplicates here for us | ||
ideaStyleSettings.value.option.forEach { | ||
codeScheme.append(it) |
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.
Turns out Project.xml
used to grow indefinitely over time....
// We could be better about this, but IDEA will mostly resolve the duplicates here for us | ||
ideaStyleSettings.value.option.forEach { | ||
codeScheme.append(it) | ||
codeScheme.attributes().putIfAbsent("version", 173) |
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.
Do we need to keep this version updated going forwards?
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.
I'm not entirely sure, but the property names may not work correctly on other versions
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.
Let's test it out!
Released 4.52.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.51.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | Idea integration results in correct copyright xml files without duplicate entries | palantir/gradle-baseline#2016 | ## 4.52.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | It's no longer necessary to import an ipr before using gradle integration, code styles are imported correctly out of the box. | palantir/gradle-baseline#2015 | To enable or disable this check, please contact the maintainers of Excavator.
Based in part upon #1231 (Thanks @dansanduleac!)
Before this PR
Import
.ipr
, then migrate to gradle integrationAfter this PR
==COMMIT_MSG==
It's no longer necessary to import an ipr before using gradle integration, code styles are imported correctly out of the box.
==COMMIT_MSG==
Possible downsides?
Maybe I messed up?