Skip to content

Commit 2567be1

Browse files
snjezafbricon
authored andcommitted
Add preference to update snapshots for Maven projects
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
1 parent a44000b commit 2567be1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Features
2929
* Code/Source actions / Refactoring
3030
* Javadoc hovers
3131
* Organize imports
32+
- triggered manually or on save
33+
- when pasting code into a java file with `Ctrl+Shift+v` (`Cmd+Shift+v` on Mac).
3234
* Type search
3335
* Code outline
3436
* Code folding
@@ -117,8 +119,8 @@ The following settings are supported:
117119
* `java.codeGeneration.toString.limitElements`: Limit number of items in arrays/collections/maps to list, if 0 then list all. Defaults to `0`.
118120
* `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.
119121

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

123125
Troubleshooting
124126
===============

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@
169169
"description": "Enable/disable eager download of Maven source artifacts.",
170170
"scope": "window"
171171
},
172+
"java.maven.updateSnapshots": {
173+
"type": "boolean",
174+
"default": false,
175+
"description": "Force update of Snapshots/Releases.",
176+
"scope": "window"
177+
},
172178
"java.referencesCodeLens.enabled": {
173179
"type": "boolean",
174180
"default": false,

0 commit comments

Comments
 (0)