Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 764 Bytes

File metadata and controls

25 lines (16 loc) · 764 Bytes

Java Google Format

This extension provides a convenient way to format Java code using Google's Java Format standards.

Usage

  1. Open a Java file in Visual Studio Code
  2. Use the Format Document command
  3. Enjoy your beautifully formatted Java code!

You can also set it as your default Java formatter in Visual Studio Code settings:

"[java]": {
  "editor.defaultFormatter": "mmilic.java-google-format",
}

Features

  • Formats Java code according to Google's Java format standards using the Google Java Format tool. The current version of Google Java Format used is v1.23.0.

Requirements

This extension requires a Java Development Kit (JDK) to be installed on your system.