Skip to content

Advice requested: Respect existing line breaks #318

@robfig

Description

@robfig

I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation or other things about it.

I've spent some time going over the code, but I'm having trouble figuring out how to make such a change. Can you provide any pointers on how to accomplish this?

Thank you!
-Rob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions