google-java-format** Forked from ilkka/vscode-google-java-format to support passing arguments to This is yet another VS Code extension for running the google-java-format tool as a Java formatter. I could not make any of the others work for me, and I did not want to install an extension that will just run commands from random repositories on save. So, I wrote this, a super simple formatter provider that will just run the google-java-format script from e.g. Homebrew. It should work as a formatter for only sections of files as well. FeaturesIt provides a formatter for the Java language, meaning it runs google-java-format for you. Install google-java-format from e.g. Homebrew and set it as your Java formatter like:
Extension SettingsUse the setting "google-java-format.executable-path" to set the path to the google-java-format executable. The extension does not look in Use the setting "google-java-format.args" to pass an array of args to the Known IssuesNothing right now. Release Notes1.0.0Initial release. |