Skip to content

Feat: Use JBang-fmt to format sources#1945

Draft
cstamas wants to merge 2 commits into
eclipse-openvsx:mainfrom
cstamas:jbang-fmt
Draft

Feat: Use JBang-fmt to format sources#1945
cstamas wants to merge 2 commits into
eclipse-openvsx:mainfrom
cstamas:jbang-fmt

Conversation

@cstamas

@cstamas cstamas commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This can be easily incorporated into git commit hooks as well.

See https://github.com/jbangdev/jbang-fmt

This is "bare minimum" setup, to format only main and test Java sources of server (excluding jOOQ generated ones).

Once we format, initial formatting will need a "source format" commit without any other code change, and add that commit hash to .git-blame-ignore-revs file in repo root to fix blame.

Git integration doco:
https://github.com/jbangdev/jbang-fmt#git-integration

cstamas added 2 commits July 6, 2026 11:50
This can be easily incorporated into git commit hooks as well.

See https://github.com/jbangdev/jbang-fmt

This is "bare minimum" setup, to format only main and test
Java sources of server (excluding jOOQ generated ones).

Once we format, initial formatting will need a "source format"
commit without any other code change, and add that commit hash
to `.git-blame-ignore-revs` file in repo root to fix blame.
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.

1 participant