Download the formatter and run it with: To reformat changed lines in a specific patch, use google-java-format-diff.py. Note: There is no configurability as to the formatter's algorithm for formatting.
Note: Requires Visual Studio Code 1.78.0 or later, and Java 21 or later. This page provides an overview of Liberty Tools for Visual Studio Code. For minimum requirements information and detailed ...