Skip to content
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

Merged
merged 12 commits into from
Sep 15, 2018
Merged

CPP extension #295

merged 12 commits into from
Sep 15, 2018

Conversation

fvgh
Copy link
Member

@fvgh fvgh commented Sep 4, 2018

Added CPP extension to Gradle and Maven plugin.
Implements #232.

fvgh added 8 commits August 9, 2018 22:17
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
Copy link
Member

@nedtwigg nedtwigg left a 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());
Copy link
Member

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);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hurrah for this too!!! 🎉

@fvgh fvgh requested a review from lutovich September 4, 2018 15:26
File settingsFile = stepConfig.getFileLocator().locateFile(file);
eclipseConfig.setPreferences(Arrays.asList(settingsFile));
}
System.err.println("newFormatterStep");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, yes... Thx!

Copy link
Contributor

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.

@fvgh
Copy link
Member Author

fvgh commented Sep 4, 2018

@lutovich I would appreciate if you have a quick look at the Maven integration.

@thc202 thc202 mentioned this pull request Sep 4, 2018
@fvgh fvgh merged commit c00d1cc into master Sep 15, 2018
@fvgh fvgh deleted the cdt_integration branch September 15, 2018 06:20
@fvgh fvgh mentioned this pull request Sep 15, 2018
@nedtwigg
Copy link
Member

Sorry for long delay, this has been shipped in 3.15.0!

@jbduncan
Copy link
Member

Great to hear! Well done @fvgh. 🎉🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants