You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reformat codebase and implement automated style verification #8
To modernize the ini4j codebase, the project will adopt the Google Java Style Guide. This task involves a one-time bulk reformat of the legacy source code and the integration of automated enforcement tools.
Tools will be configured to ensure the VS Code local environment matches the Maven CI build exactly.
Tasks
Initial Bulk Reformat: Run mvn spotless:apply to format all .java and .xml files.
Maven Integration:
Add com.diffplug.spotless:spotless-maven-plugin (version 3.x) to pom.xml.
Configure Java to use googleJavaFormat().
Configure XML to use eclipseWtp() (to align with Red Hat VS Code extension).
Bind the check goal to the verify phase.
Dev Container Configuration:
Update .devcontainer/devcontainer.json to install JoseVSeb.google-java-format-for-vs-code and redhat.vscode-xml.
Configure settings to disable the default Java formatter and enable "Format on Save" for both Java and XML.
Activity
style: bulk reformat codebase to Google Java Style