Skip to content

Commit

Permalink
Merge pull request apache#85 from Achal1607/javavscode-14
Browse files Browse the repository at this point in the history
added formatter preferences readme
  • Loading branch information
arvindaprameya authored Nov 30, 2023
2 parents 049cda5 + da26533 commit 7dd18e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ Move members refactoring provides dedicated form as well.
* Inline redundant variable
* Constructor and method argument refactoring

## Formatter Preferences
Easily update default formatter preferences by adjusting a simple configuration option to tailor settings according to specific needs.

Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensions | Java` and set `Jdk › Format: Settings Path:` option to the formatter preferences file.

Please refer to [Java formatting preferences](https://github.com/oracle/javavscode/wiki/Java-formatting-preferences) wiki for more info.

## Organize Imports
Out of the box support for organizing imports in Java sources is available. It removes unused imports, groups imports by packages and updates your imports whenever a file is saved. In addition to the defaults, there is a rich set of configuration options.

Expand Down
7 changes: 7 additions & 0 deletions vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ Move members refactoring provides dedicated form as well.
* Inline redundant variable
* Constructor and method argument refactoring

## Formatter Preferences
Easily update default formatter preferences by adjusting a simple configuration option to tailor settings according to specific needs.

Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensions | Java` and set `Jdk › Format: Settings Path:` option to the formatter preferences file.

Please refer to [Java formatting preferences](https://github.com/oracle/javavscode/wiki/Java-formatting-preferences) wiki for more info.

## Organize Imports
Out of the box support for organizing imports in Java sources is available. It removes unused imports, groups imports by packages and updates your imports whenever a file is saved. In addition to the defaults, there is a rich set of configuration options.

Expand Down

0 comments on commit 7dd18e6

Please sign in to comment.