Skip to content

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
@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