styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

number_of_blank_lines_at_end_of_method_body is missing in GoogleStyle raw style

Open drakgoku opened this issue 1 year ago • 1 comments

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. https://github.com/redhat-developer/vscode-java/issues/3694#issuecomment-2430344025

drakgoku avatar Oct 22 '24 21:10 drakgoku

@drakgoku i can add it but we need to see at where it needs to be located in style.xml.

Brijeshthummar02 avatar Mar 01 '25 06:03 Brijeshthummar02