-
Notifications
You must be signed in to change notification settings - Fork 460
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
CPP extension #295
CPP extension #295
Conversation
Documents (ReadMe/Changes) have been updated.
Enhanced C support of license header delimiter rules.
# Conflicts: # CHANGES.md # README.md # plugin-maven/CHANGES.md
Superfluous integration tests of Eclipse formatter have been removed.
# Conflicts: # CHANGES.md # plugin-gradle/CHANGES.md # plugin-maven/CHANGES.md
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.
Wow! What a roll! I especially love that we even get CppDefaults.DELIMITER_EXPR!
* Hence file extension based filtering is used in line with the org.eclipse.core.contenttype.contentTypes | ||
* defined by the CDT plugin. | ||
*/ | ||
target(CppDefaults.FILE_FILTER.toArray()); |
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.
Very helpful comment 👍
@Override | ||
public LicenseHeaderConfig licenseHeader(String licenseHeader) { | ||
return licenseHeader(licenseHeader, CppDefaults.DELIMITER_EXPR); | ||
} |
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.
Hurrah for this too!!! 🎉
File settingsFile = stepConfig.getFileLocator().locateFile(file); | ||
eclipseConfig.setPreferences(Arrays.asList(settingsFile)); | ||
} | ||
System.err.println("newFormatterStep"); |
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.
Remove?
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.
Oops, yes... Thx!
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.
Just noticed it's also present in #293.
@lutovich I would appreciate if you have a quick look at the Maven integration. |
Sorry for long delay, this has been shipped in |
Great to hear! Well done @fvgh. 🎉🎊 |
Added CPP extension to Gradle and Maven plugin.
Implements #232.