Skip to content

number_of_blank_lines_at_end_of_method_body is missing in GoogleStyle raw style #860

@drakgoku

Description

@drakgoku

Can you add this line

<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body" value="1"/>

in your raw styles? https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml

When we use the VSC extension
https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings to work with Java, we have a problem when formatting.
vscode-java is using the Eclipse JDT.LS language server, so yes, it's definitely based on Eclipse.

Here I discuss it in detail and its solution.
Related topic.
redhat-developer/vscode-java#3694 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions