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

add newline after autoformat java codeblock #487

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

danthe1st
Copy link
Member

When code is autoformatted, the (detected) codeblock section is added immediately after ```java.
If that section starts with an alphanumeric character, this results in the language identifier (java) being merged with the first word, e.g. javapublic instead of public with Java formatting.

This PR adds a line break after the ```java in order to avoid this issue.

@danthe1st danthe1st requested a review from a team as a code owner May 15, 2024 11:31
@MoonTM-GIT MoonTM-GIT merged commit 375af0d into Java-Discord:main Jun 24, 2024
2 checks passed
@danthe1st danthe1st deleted the autoformat-newline branch June 25, 2024 08:49
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