Skip to content

Commit

Permalink
Add preference to update snapshots for Maven projects
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored and fbricon committed Dec 3, 2019
1 parent a44000b commit 2567be1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Features
* Code/Source actions / Refactoring
* Javadoc hovers
* Organize imports
- triggered manually or on save
- when pasting code into a java file with `Ctrl+Shift+v` (`Cmd+Shift+v` on Mac).
* Type search
* Code outline
* Code folding
Expand Down Expand Up @@ -117,8 +119,8 @@ The following settings are supported:
* `java.codeGeneration.toString.limitElements`: Limit number of items in arrays/collections/maps to list, if 0 then list all. Defaults to `0`.
* `java.selectionRange.enabled`: Enable/disable Smart Selection support for Java. Disabling this option will not affect the VS Code built-in word-based and bracket-based smart selection.

New in 0.52.0:
* "Organize imports" is triggered when pasting code into a java file with `Ctrl+Shift+v` (`Cmd+Shift+v` on Mac).
New in 0.54.0:
* `java.maven.updateSnapshots`: Force update of Snapshots/Releases.

Troubleshooting
===============
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@
"description": "Enable/disable eager download of Maven source artifacts.",
"scope": "window"
},
"java.maven.updateSnapshots": {
"type": "boolean",
"default": false,
"description": "Force update of Snapshots/Releases.",
"scope": "window"
},
"java.referencesCodeLens.enabled": {
"type": "boolean",
"default": false,
Expand Down

0 comments on commit 2567be1

Please sign in to comment.