Skip to content

Instantly share code, notes, and snippets.

@cmena
cmena / vscode-java-formatter.md
Created September 10, 2021 19:15 — forked from samba2/vscode-java-formatter.md
Visual Studio Code Java - Method Chain Formatting

Issue

By default VS Code Java squeezes chained methods into one line. The goal is to have VS Code Java behave similary to IntelliJ: the second and following methods are properly indented but not pulled back to the line which started the method chain.

In short:

Is (not good)