Visual Studio Code java format document braces new line
问题 How can I get Visual Studio Code to format Java documents with braces in a new like? i.e: This public static void main(String args[]) { } To this public static void main(String args[]) { } Edit: Yikes!! Just remember .vscode/extensions folder. I went in there then /ryannaddy.vscode-format-0.0.6/package.json and changed format.newLine to true. Thanks for the help. So happy!! 回答1: To solve this using "Language Support for Java(TM) by Red Hat" you can use an Eclipse formatter file. This allows