|
118 | 118 | } |
119 | 119 | ], |
120 | 120 | "editor/context": [ |
121 | | - { |
122 | | - "when": "resourceFilename == pom.xml || resourceFilename == build.gradle", |
123 | | - "command": "vscode-spring-boot.rewrite.list.refactorings", |
124 | | - "group": "SpringBoot" |
125 | | - }, |
126 | | - { |
127 | | - "when": "resourceFilename == pom.xml || resourceFilename == build.gradle", |
128 | | - "command": "vscode-spring-boot.rewrite.list.boot-upgrades", |
129 | | - "group": "SpringBoot" |
130 | | - }, |
131 | 121 | { |
132 | 122 | "when": "editorLangId == spring-boot-properties", |
133 | 123 | "command": "vscode-spring-boot.props-to-yaml", |
|
140 | 130 | } |
141 | 131 | ], |
142 | 132 | "explorer/context": [ |
143 | | - { |
144 | | - "when": "(resourceFilename == pom.xml || resourceFilename == build.gradle) && config.boot-java.rewrite.refactorings.on == true", |
145 | | - "command": "vscode-spring-boot.rewrite.list.refactorings", |
146 | | - "group": "SpringBoot" |
147 | | - }, |
148 | | - { |
149 | | - "when": "(resourceFilename == pom.xml || resourceFilename == build.gradle) && config.boot-java.rewrite.refactorings.on == true", |
150 | | - "command": "vscode-spring-boot.rewrite.list.boot-upgrades", |
151 | | - "group": "SpringBoot" |
152 | | - }, |
153 | 133 | { |
154 | 134 | "when": "resourceExtname == .properties", |
155 | 135 | "command": "vscode-spring-boot.props-to-yaml", |
|
229 | 209 | "title": "Show/Refresh/Hide Live Data from Spring Boot Processes", |
230 | 210 | "category": "Spring Boot" |
231 | 211 | }, |
232 | | - { |
233 | | - "enablement": "config.boot-java.rewrite.refactorings.on == true", |
234 | | - "command": "vscode-spring-boot.rewrite.list.boot-upgrades", |
235 | | - "category": "Spring Boot", |
236 | | - "title": "Upgrade Spring Boot Version..." |
237 | | - }, |
238 | | - { |
239 | | - "enablement": "config.boot-java.rewrite.refactorings.on == true", |
240 | | - "command": "vscode-spring-boot.rewrite.list.refactorings", |
241 | | - "category": "Spring Boot", |
242 | | - "title": "Refactor Spring Boot Project..." |
243 | | - }, |
244 | | - { |
245 | | - "command": "vscode-spring-boot.rewrite.reload", |
246 | | - "title": "Reload OpenRewrite Recipes", |
247 | | - "category": "Spring Boot" |
248 | | - }, |
249 | 212 | { |
250 | 213 | "command": "sts/common-properties/reload", |
251 | 214 | "title": "Reload Shared Properties Metadata", |
|
496 | 459 | } |
497 | 460 | } |
498 | 461 | }, |
499 | | - { |
500 | | - "id": "rewrite", |
501 | | - "title": "OpenRewrite", |
502 | | - "order": 400, |
503 | | - "properties": { |
504 | | - "boot-java.rewrite.refactorings.on": { |
505 | | - "type": "boolean", |
506 | | - "default": true, |
507 | | - "description": "Recipes refactoring entire Maven project via commands" |
508 | | - }, |
509 | | - "boot-java.rewrite.recipe-filters": { |
510 | | - "type": "array", |
511 | | - "default": [ |
512 | | - "org.openrewrite.java.spring.boot2.SpringBoot2JUnit4to5Migration", |
513 | | - "org.openrewrite.java.spring.boot3.SpringBoot3BestPractices", |
514 | | - "org.openrewrite.java.testing.junit5.JUnit5BestPractices", |
515 | | - "org.openrewrite.java.testing.junit5.JUnit4to5Migration", |
516 | | - "org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7", |
517 | | - "org.springframework.ide.vscode.rewrite.boot3.UpgradeSpringBoot_3_4", |
518 | | - "org.springframework.ide.vscode.rewrite.boot3.UpgradeSpringBoot_3_5", |
519 | | - "org.rewrite.java.security.*", |
520 | | - "org.springframework.rewrite.test.*", |
521 | | - "rewrite.test.*" |
522 | | - ], |
523 | | - "items": { |
524 | | - "type": "string" |
525 | | - }, |
526 | | - "description": "Recipe ID filter patterns. Either exact ids or patterns with '*' as the wild-card" |
527 | | - }, |
528 | | - "boot-java.rewrite.scan-files": { |
529 | | - "type": "array", |
530 | | - "default": [], |
531 | | - "items": { |
532 | | - "type": "string" |
533 | | - }, |
534 | | - "description": "JAR and YAML files to scan for recipes" |
535 | | - } |
536 | | - } |
537 | | - }, |
538 | 462 | { |
539 | 463 | "id": "ls", |
540 | 464 | "title": "Language Server", |
|
0 commit comments