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

number_of_blank_lines_at_end_of_method_body is missing in GoogleStyle raw style #860

Open
drakgoku opened this issue Oct 22, 2024 · 0 comments
Labels
lang:java The Java language

Comments

@drakgoku
Copy link

drakgoku commented Oct 22, 2024

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)

@vapier vapier added the lang:java The Java language label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang:java The Java language
Projects
None yet
Development

No branches or pull requests

2 participants