Skip to content

Ran prettier on java files#549

Merged
marohrdanz merged 1 commit intomainfrom
ran_prettier
Feb 11, 2025
Merged

Ran prettier on java files#549
marohrdanz merged 1 commit intomainfrom
ran_prettier

Conversation

@marohrdanz
Copy link
Contributor

This PR is the result of running prettier on the java files.

I'm preparing some changes to implement the 'panels in R' feature request, and the corresponding pull request will be easier to review if the prettier changes are merged first.

Testing

I ran the GitHub Action to generate the NG-CHM Artifacts (resulting commit here), tag 2.25.0-build-42, and verified:

  • ShaidyMapGen.jar
    • Used it to create NG-CHM with R package
    • Resulting NG-CHM works as expected
  • GUIBuilderMapGen.jar
    • Built and ran GUI Builder with VIEWER_TAG=2.25.0-build-42
    • Created NG-CHM with sample matrix
    • Resulting NG-CHM works as expected

Did not test GalaxyMapGen.jar

Reference

Below is the .prettierrc file used. If after scanning the java code you don't like something, let me know and I'll try to find different settings. I know we were unhappy with some of the settings used in #527.

{
  "printWidth": 100,
  "proseWrap": "never",
  "trailingComma": "none",
  "plugins": ["prettier-plugin-java"]
}

For reference, here's the .prettierrc file used:

```
{
  "printWidth": 100,
  "proseWrap": "never",
  "trailingComma": "none",
  "plugins": ["prettier-plugin-java"]
}
```
Copy link
Member

@ChrisWakefield ChrisWakefield left a comment

Choose a reason for hiding this comment

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

Yes, it's prettier! So, so prettier! Thanks for doing this as a separate merge.

@marohrdanz marohrdanz merged commit dc876b5 into main Feb 11, 2025
2 checks passed
@marohrdanz marohrdanz deleted the ran_prettier branch February 11, 2025 21:29
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.

3 participants