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

Convert single line block comment to EOL comment #1941

Closed
paul-dingemans opened this issue Apr 13, 2023 · 0 comments
Closed

Convert single line block comment to EOL comment #1941

paul-dingemans opened this issue Apr 13, 2023 · 0 comments

Comments

@paul-dingemans
Copy link
Collaborator

Block comments preceded by another code element on the same line are converted to EOL comment. This should also be done for single line block comments which are not preceded or followed by another code element on the same line. Code below:

fun bar() {
    /* Some comment */
}

should be formatted as:

fun bar() {
    // Some comment
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant