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

feat: added vs code setting for java checkstyle #447

Merged
merged 12 commits into from
Jun 19, 2022

Conversation

asmfstatoil
Copy link
Collaborator

No description provided.

@asmfstatoil asmfstatoil requested a review from EvenSol as a code owner June 16, 2022 20:17
Copy link
Collaborator

@EvenSol EvenSol left a comment

Choose a reason for hiding this comment

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

Very good! I will use this in further coding.

@EvenSol
Copy link
Collaborator

EvenSol commented Jun 16, 2022

also devcontainer file should be updated:

// Set *default* container specific settings.json values on container create.
	//"settings": { 
	//	"java.home": "/docker-java-home"
	//},
  "settings": {
    "java.configuration.updateBuildConfiguration": "interactive",
    "[java]": {
        "editor.defaultFormatter": "redhat.java",
        "editor.formatOnSave": true,
        "editor.tabSize": 2,
        "editor.insertSpaces": true,
        "editor.detectIndentation": false
    },
    "java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
    "java.saveActions.organizeImports": true,
    "java.checkstyle.version": "10.3",
    "java.checkstyle.configuration": "https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml"
},

@asmfstatoil asmfstatoil merged commit fffaaa6 into equinor:master Jun 19, 2022
@asmfstatoil asmfstatoil deleted the checkstyle branch June 19, 2022 16:32
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