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

Reformat all java files #1627

Merged

Conversation

DiegoTavares
Copy link
Collaborator

Formatting was previously being handled by code_style–ij.xml which is not really compatible with many new IDEs. This PR changes formating to GoogleStyle enforced by the spotless gradle plugin in conjunction with jdtls, which is compatible with vscode and eclipse.

Execute gradle spotlessApply to execute the formatter using gradle locally.

Formatting was previously being handled by code_style–ij.xml which is not really
compatible with many new IDEs. This PR changes formating to GoogleStyle enforced by
the spotless gradle plugin in conjunction with jdtls, which is compatible with
vscode and eclipse.
@DiegoTavares
Copy link
Collaborator Author

Update documentation to add vscode and intellij configuration

@ramonfigueiredo
Copy link
Collaborator

@DiegoTavares Looks great to me! I checked the files, and the formatting changes look good. Switching to GoogleStyle with spotless and jdtls is a smart move for IDE compatibility. It would be helpful to add the gradle spotlessApply command and instructions for code formatting to Cuebot/README.md for better clarity.

Approved!

FYI...
@bcipriano @lithorus

@DiegoTavares DiegoTavares merged commit 97e5d3f into AcademySoftwareFoundation:master Jan 23, 2025
11 checks passed
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.

2 participants