Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
2003 lines (2003 loc) · 69.2 KB
/
Copy pathpackage.json
File metadata and controls
2003 lines (2003 loc) · 69.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "vscode-spring-boot",
"displayName": "Spring Boot Tools",
"description": "Provides validation and content assist for Spring Boot `application.properties`, `application.yml` properties files. As well as Boot-specific support for `.java` files.",
"icon": "spring-boot-logo.png",
"version": "2.5.0",
"publisher": "vmware",
"repository": {
"type": "git",
"url": "https://github.com/spring-projects/spring-tools.git"
},
"license": "EPL-1.0",
"engines": {
"npm": ">=6.0.0",
"vscode": "^1.92.0"
},
"categories": [
"Programming Languages",
"Linters",
"AI",
"Chat"
],
"keywords": [
"java-properties",
"spring-boot",
"java",
"application-properties",
"application-yaml"
],
"activationEvents": [
"onLanguage:java",
"onLanguage:xml"
],
"contributes": {
"javaExtensions": [
"./jars/io.projectreactor.reactor-core.jar",
"./jars/org.reactivestreams.reactive-streams.jar",
"./jars/jdt-ls-commons.jar",
"./jars/jdt-ls-extension.jar",
"./jars/sts-gradle-tooling.jar"
],
"languages": [
{
"id": "spring-boot-properties-yaml",
"aliases": [
"Spring Boot Properties Yaml"
],
"filenamePatterns": [
"application*.yml",
"application*.yaml",
"bootstrap*.yml",
"bootstrap*.yaml"
],
"configuration": "./yaml-support/language-configuration.json"
},
{
"id": "spring-boot-properties",
"aliases": [
"Spring Boot Properties"
],
"filenamePatterns": [
"application*.properties",
"bootstrap*.properties"
],
"configuration": "./properties-support/language-configuration.json"
},
{
"id": "spring-factories",
"aliases": [
"Spring Factories"
],
"filenamePatterns": [
"*.factories"
],
"configuration": "./properties-support/language-configuration.json"
},
{
"id": "jpa-query-properties",
"aliases": [
"JPA Query Properties"
],
"filenamePatterns": [
"jpa-named-queries.properties"
],
"configuration": "./properties-support/language-configuration.json"
}
],
"views": {
"explorer": [
{
"id": "explorer.spring",
"name": "Logical Structure",
"when": "vscode-spring-boot.ls.started",
"contextualTitle": "Logical Structure",
"icon": "resources/logo.png"
}
]
},
"menus": {
"view/title": [
{
"command": "vscode-spring-boot.structure.includeDependencies",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.includeDependencies",
"group": "navigation@2"
},
{
"command": "vscode-spring-boot.structure.excludeDependencies",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && vscode-spring-boot.structure.includeDependencies",
"group": "navigation@2"
},
{
"command": "vscode-spring-boot.structure.highlightChanges",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.highlightChanges",
"group": "navigation@3"
},
{
"command": "vscode-spring-boot.structure.stopHighlightingChanges",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && vscode-spring-boot.structure.highlightChanges",
"group": "navigation@3"
},
{
"command": "vscode-spring-boot.structure.hideUnchangedNodes",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.hideUnchanged",
"group": "navigation@4"
},
{
"command": "vscode-spring-boot.structure.showAllNodes",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && vscode-spring-boot.structure.hideUnchanged",
"group": "navigation@4"
},
{
"command": "vscode-spring-boot.structure.refresh",
"when": "vscode-spring-boot.ls.started && view == explorer.spring",
"group": "navigation@5"
}
],
"editor/context": [
{
"when": "vscode-spring-boot.ls.started && editorLangId == spring-boot-properties",
"command": "vscode-spring-boot.props-to-yaml",
"group": "SpringBoot"
},
{
"when": "vscode-spring-boot.ls.started && editorLangId == spring-boot-properties-yaml",
"command": "vscode-spring-boot.yaml-to-props",
"group": "SpringBoot"
}
],
"explorer/context": [
{
"when": "vscode-spring-boot.ls.started && resourceExtname == .properties",
"command": "vscode-spring-boot.props-to-yaml",
"group": "SpringBoot"
},
{
"when": "vscode-spring-boot.ls.started && (resourceExtname == .yml || resourceExtname == .yaml)",
"command": "vscode-spring-boot.yaml-to-props",
"group": "SpringBoot"
}
],
"commandPalette": [
{
"command": "vscode-spring-boot.structure.refresh",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.showChanges",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.captureBaseline",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.clearBaseline",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.selectBaseline",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.dependencies",
"when": "false"
},
{
"command": "vscode-spring-boot.structure.includeDependencies",
"when": "!vscode-spring-boot.structure.includeDependencies"
},
{
"command": "vscode-spring-boot.structure.excludeDependencies",
"when": "vscode-spring-boot.structure.includeDependencies"
},
{
"command": "vscode-spring-boot.structure.highlightChanges",
"when": "!vscode-spring-boot.structure.highlightChanges"
},
{
"command": "vscode-spring-boot.structure.stopHighlightingChanges",
"when": "vscode-spring-boot.structure.highlightChanges"
},
{
"command": "vscode-spring-boot.structure.hideUnchangedNodes",
"when": "!vscode-spring-boot.structure.hideUnchanged"
},
{
"command": "vscode-spring-boot.structure.showAllNodes",
"when": "vscode-spring-boot.structure.hideUnchanged"
},
{
"command": "vscode-spring-boot.props-to-yaml",
"when": "false"
},
{
"command": "vscode-spring-boot.yaml-to-props",
"when": "false"
},
{
"command": "vscode-spring-boot.live.show.active",
"when": "false"
},
{
"command": "vscode-spring-boot.live.hide.active",
"when": "false"
},
{
"command": "vscode-spring-boot.live.refresh.active",
"when": "false"
}
],
"debug/toolBar": [
{
"when": "vscode-spring-boot.ls.started && inDebugMode && debugType == 'java' && (vscode-spring-boot.active-app-state == 'disconnected' || vscode-spring-boot.active-app-state == 'connecting')",
"command": "vscode-spring-boot.live.show.active",
"group": "Spring Boot"
},
{
"when": "vscode-spring-boot.ls.started && inDebugMode && debugType == 'java' && vscode-spring-boot.active-app-state == 'connected'",
"command": "vscode-spring-boot.live.refresh.active",
"group": "Spring Boot"
},
{
"when": "vscode-spring-boot.ls.started && inDebugMode && debugType == 'java' && (vscode-spring-boot.active-app-state == 'connected' || vscode-spring-boot.active-app-state == 'disconnecting')",
"command": "vscode-spring-boot.live.hide.active",
"group": "Spring Boot"
}
],
"view/item/context": [
{
"command": "vscode-spring-boot.structure.openReference",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && viewItem =~ /\\bstereotypedNodeWithReference\\b/",
"group": "inline"
},
{
"command": "vscode-spring-boot.structure.grouping",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && viewItem =~ /\\bproject\\b/",
"group": "inline"
},
{
"command": "vscode-spring-boot.structure.dependencies",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && viewItem =~ /\\bproject\\b/",
"group": "inline"
},
{
"command": "vscode-spring-boot.structure.showChanges",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.includeDependencies && viewItem =~ /\\bchanged\\b/",
"group": "1_structure"
},
{
"command": "vscode-spring-boot.structure.captureBaseline",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.includeDependencies && viewItem =~ /\\bproject\\b/",
"group": "1_structure"
},
{
"command": "vscode-spring-boot.structure.clearBaseline",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.includeDependencies && viewItem =~ /\\bproject\\b/",
"group": "1_structure"
},
{
"command": "vscode-spring-boot.structure.selectBaseline",
"when": "vscode-spring-boot.ls.started && view == explorer.spring && !vscode-spring-boot.structure.includeDependencies && viewItem =~ /\\bproject\\b/",
"group": "1_structure"
}
]
},
"commands": [
{
"command": "vscode-spring-boot.structure.refresh",
"enablement": "vscode-spring-boot.ls.started",
"title": "Refresh",
"category": "Spring Boot",
"icon": "$(refresh)"
},
{
"command": "vscode-spring-boot.live-hover.connect",
"enablement": "vscode-spring-boot.ls.started",
"title": "Show/Refresh/Hide Live Data from Spring Boot Processes",
"category": "Spring Boot"
},
{
"command": "sts/common-properties/reload",
"enablement": "vscode-spring-boot.ls.started",
"title": "Reload Shared Properties Metadata",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.spring.modulith.metadata.refresh",
"enablement": "vscode-spring-boot.ls.started",
"title": "Refresh Modulith Metadata",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.set.log-levels",
"enablement": "vscode-spring-boot.ls.started",
"title": "Set Log Levels",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.open.url",
"title": "Open Boot App Page URL",
"category": "Spring Boot",
"enablement": "never"
},
{
"command": "vscode-spring-boot.props-to-yaml",
"enablement": "vscode-spring-boot.ls.started",
"title": "Convert .properties to .yaml",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.yaml-to-props",
"enablement": "vscode-spring-boot.ls.started",
"title": "Convert .yaml to .properties",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.live.show.active",
"title": "Show Live Data from launched Spring Boot App",
"enablement": "vscode-spring-boot.ls.started && vscode-spring-boot.active-app-state == 'disconnected'",
"icon": "./images/light-bulb-off.svg",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.live.hide.active",
"title": "Hide Live Data from launched Spring Boot App",
"enablement": "vscode-spring-boot.ls.started && vscode-spring-boot.active-app-state == 'connected'",
"icon": "./images/light-bulb-on.svg",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.live.refresh.active",
"title": "Refresh Live Data from launched Spring Boot App",
"enablement": "vscode-spring-boot.ls.started && vscode-spring-boot.active-app-state == 'connected'",
"icon": "$(refresh)",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.query.explain",
"enablement": "vscode-spring-boot.ls.started",
"title": "Explain SpEL expressions, Spring Data queries, and AOP annotations (AI assistant)",
"category": "Spring Boot"
},
{
"command": "vscode-spring-boot.structure.openReference",
"title": "Open Reference",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(link-external)"
},
{
"command": "vscode-spring-boot.structure.grouping",
"title": "Select Groups to Show/Hide",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(checklist)"
},
{
"command": "vscode-spring-boot.structure.dependencies",
"title": "Select Dependencies to Include",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(library)"
},
{
"command": "vscode-spring-boot.structure.showChanges",
"title": "Show Changes",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(git-compare)"
},
{
"command": "vscode-spring-boot.structure.captureBaseline",
"title": "Capture Logical Structure Baseline",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(bookmark)"
},
{
"command": "vscode-spring-boot.structure.clearBaseline",
"title": "Clear Logical Structure Baseline",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(trash)"
},
{
"command": "vscode-spring-boot.structure.selectBaseline",
"title": "Select Baseline to Compare Against",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(history)"
},
{
"command": "vscode-spring-boot.structure.includeDependencies",
"title": "Include Dependencies",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(layers)"
},
{
"command": "vscode-spring-boot.structure.excludeDependencies",
"title": "Exclude Dependencies",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(layers-active)"
},
{
"command": "vscode-spring-boot.structure.highlightChanges",
"title": "Highlight Changes",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(eye)"
},
{
"command": "vscode-spring-boot.structure.stopHighlightingChanges",
"title": "Stop Highlighting Changes",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(eye-closed)"
},
{
"command": "vscode-spring-boot.structure.hideUnchangedNodes",
"title": "Hide Unchanged Nodes",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(filter)"
},
{
"command": "vscode-spring-boot.structure.showAllNodes",
"title": "Show All Nodes",
"enablement": "vscode-spring-boot.ls.started",
"category": "Spring Boot",
"icon": "$(filter-filled)"
},
{
"command": "vscode-spring-boot.ls.start",
"title": "Start Spring Boot Language Server",
"category": "Spring Boot",
"enablement": "!vscode-spring-boot.ls.started"
}
],
"configuration": [
{
"id": "features",
"title": "Features",
"order": 100,
"properties": {
"boot-java.embedded-syntax-highlighting": {
"type": "boolean",
"default": true,
"description": "Syntax Hyghlighting for Languages embedded into Java source code"
},
"boot-java.java.reconcilers": {
"type": "boolean",
"default": true,
"description": "Reconciling Java Sources"
},
"boot-java.live-information.automatic-connection.on": {
"type": "boolean",
"default": true,
"description": "Live Information - Automatic addition of JVM arguments enabling JMX and Process Connection via JMX Enabled"
},
"boot-java.live-information.all-local-java-processes": {
"type": "boolean",
"description": "Show all local JVM processes when connecting to Live Spring Boot App processes",
"default": false
},
"boot-java.live-information.fetch-data.max-retries": {
"type": "number",
"default": 10,
"description": "Live Information - Max number of retries (before giving up)"
},
"boot-java.live-information.fetch-data.retry-delay-in-seconds": {
"type": "number",
"default": 3,
"description": "Live Information - Delay between retries in seconds"
},
"boot-java.scan-java-test-sources.on": {
"type": "boolean",
"default": false,
"description": "Enable/Disable Java test sources files scanning"
},
"boot-java.lombok.on": {
"type": "boolean",
"default": false,
"description": "Enable/Disable taking the constructors Lombok generates into account when indexing Java sources, e.g. for injection points"
},
"boot-java.lombok.field-defaults-final": {
"type": "boolean",
"default": false,
"description": "Lombok: treat all fields as final unless marked @NonFinal, as with `lombok.fieldDefaults.defaultFinal = true` in lombok.config"
},
"boot-java.lombok.copy-spring-annotations": {
"type": "boolean",
"default": false,
"description": "Lombok: copy Spring's @Qualifier and @Value from fields onto the generated constructor parameters, as with `lombok.copyableAnnotations` in lombok.config"
},
"boot-java.support-spring-xml-config.on": {
"type": "boolean",
"default": false,
"description": "Enable/Disable Support for Spring XML Config files"
},
"boot-java.support-spring-xml-config.hyperlinks": {
"type": "boolean",
"description": "Enable/Disable Hyperlinks in Spring XML Config file editor",
"default": true
},
"boot-java.support-spring-xml-config.content-assist": {
"type": "boolean",
"description": "Enable/Disable Content Assist in Spring XML Config file editor",
"default": true
},
"boot-java.support-spring-xml-config.scan-folders": {
"type": "string",
"default": "src/main",
"description": "Scan Spring XML in folders"
},
"boot-java.highlight-codelens.on": {
"type": "boolean",
"default": true,
"description": "Enable/Disable Spring running Boot application Code Lenses"
},
"boot-java.common.properties-metadata": {
"type": [
"string",
"null"
],
"description": "The path to a shared properties metadata JSON file."
},
"boot-java.properties.completions.elide-prefix": {
"type": "boolean",
"default": false,
"description": "Elide common prefix in property key auto completions"
},
"boot-java.jpql": {
"type": "boolean",
"default": true,
"description": "JPA Query language support"
},
"boot-java.cron.inlay-hints": {
"type": "boolean",
"default": true,
"description": "Show CRON expressions inlay-hints"
},
"boot-java.java.completions.inject-bean": {
"type": "boolean",
"default": true,
"description": "Inject Bean completion proposals in Java editor"
},
"boot-java.feature-flags": {
"type": "object",
"default": {},
"additionalProperties": {
"type": "boolean"
},
"markdownDescription": "Turn individual Spring Tools features on (`true`) or off (`false`) by feature id. Features that are not listed stay on. Known ids: `value-property-completion`, `value-classpath-completion`, `property-key-navigation`, `bean-name-navigation`, `profile-navigation`, `bean-name-completion`, `bean-type-completion`, `profile-completion`, `conditional-on-property-completion`, `scope-completion`, `ignored-problem-fixes`, `query-text-block-conversion`, `context-configuration-completion`, `data-repository-completion`, `conditional-on-resource-completion`, `cron-completion`, `java-snippet-completion`, `classpath-resource-navigation`, `class-name-navigation`, `data-query-parameter-navigation`, `spel-navigation`, `aot-query-method-implementation-navigation`, `event-navigation`, `add-query-annotation`, `sql-dialect-quickfix`, `webflux-handler-code-lens`, `ai-assistant-code-lens`, `router-function-code-lens`, `data-query-aot-code-lens`, `web-config-code-lens`, `properties-hover`, `yaml-hover`, `webflux-route-highlight`, `data-query-highlight`, `data-query-inlay-hints`, `pom-inlay-hints`, `data-query-semantic-tokens`, `spel-semantic-tokens`, `cron-semantic-tokens`, `properties-completion`, `yaml-completion`, `properties-navigation`, `yaml-navigation`, `document-symbols`, `workspace-symbols`"
},
"boot-java.java.beans-structure-tree": {
"type": "boolean",
"default": true,
"description": "Beans structure tree in the outline view (experimental)"
},
"boot-java.structure.git-baseline-enabled": {
"type": "boolean",
"default": false,
"description": "Logical Structure view: automatically capture a diff baseline on every git commit, so changes are always highlighted against the last commit without manually capturing a baseline. A project opened with uncommitted changes gets its first baseline at its next commit, so that those changes stay visible. When off, baselines are captured manually only - and you are asked whether to turn this on when you turn on highlighting changes."
},
"boot-java.structure.git-baseline-prompt": {
"type": "boolean",
"default": true,
"description": "Logical Structure view: ask whether to turn on the automatic git baseline (`boot-java.structure.git-baseline-enabled`) when you turn on highlighting changes while it is off."
},
"boot-java.structure.package-nodes": {
"type": "boolean",
"default": true,
"description": "Logical Structure view: show a node for each top-level package of a project when its types are in more than one. Turn off to show the stereotype groups and types right below the project node, whatever their packages. Does not apply to Spring Modulith projects, which are structured by their application modules."
},
"boot-java.structure.show-non-spring-projects": {
"type": "boolean",
"default": false,
"description": "Logical Structure view: also show projects that are not Spring projects. Off by default, so only Spring projects are shown."
},
"boot-java.structure.baseline-history-size": {
"type": "integer",
"default": 10,
"minimum": 1,
"description": "Logical Structure view: how many past commit snapshots to retain per project. The most recent one is always what changes are highlighted against; older ones are kept so a commit's snapshot can be recognized later by its message."
},
"boot-java.java.codelens-over-query-methods": {
"type": "boolean",
"default": true,
"description": "Show CodeLens with AOT generated query over Data Query methods"
},
"boot-java.code-action.data-query-multiline": {
"type": "boolean",
"default": false,
"description": "Generate @Query annotations as Java text blocks with formatted multi-line layout"
},
"boot-java.java.codelens-web-configs-on-controller-classes": {
"type": "boolean",
"default": true,
"description": "Show CodeLens with web config details on controller classes"
},
"boot-java.remote-apps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jmxurl": {
"type": "string"
},
"host": {
"type": "string"
},
"urlScheme": {
"type": "string"
},
"port": {
"type": "number"
}
},
"required": [
"jmxurl",
"host"
]
},
"description": "Array of jmx urls pointing to remote spring boot applications to poll for live hover information. A typical url looks something like this: `service:jmx:rmi://localhost:9111/jndi/rmi://localhost:9111/jmxrmi`"
},
"boot-java.modulith-project-tracking": {
"type": "boolean",
"default": true,
"description": "Spring Boot Modulith automatic project tracking and metadata update"
},
"boot-java-vscode-only.test-jars": {
"type": "boolean",
"default": true,
"description": "Enable/Disable Spring Boot TestJars launch environment variables"
},
"spring.tools.properties.replace-converted-file": {
"type": "boolean",
"default": false,
"description": "Replace converted properties file"
},
"spring.tools.openWith": {
"default": "integrated",
"type": "string",
"enum": [
"integrated",
"external"
],
"enumDescriptions": [
"VS Code's integrated browser",
"External default browser"
],
"scope": "window",
"description": "Defines which browser to use when opening Spring Boot apps web pages."
},
"boot-java.highlight-copilot-codelens.on": {
"type": "boolean",
"default": false,
"description": "Explain SpEL expressions, Spring Data queries, and AOP annotations using AI Assistant"
}
}
},
{
"id": "ls",
"title": "Language Server",
"order": 1000,
"properties": {
"spring-boot.ls.logfile": {
"type": [
"string",
"null"
],
"description": "The path of a file to write language server logs. If not set or null, then logs are discarded."
},
"spring-boot.ls.java.home": {
"type": [
"string",
"null"
],
"description": "Override JAVA_HOME used for launching the spring-boot-language-server JVM process.",
"scope": "machine-overridable"
},
"spring-boot.ls.java.heap": {
"type": [
"string",
"null"
],
"description": "Max JVM heap value, passed via -Xmx argument when launching spring-boot-language-server JVM process."
},
"spring-boot.ls.java.vmargs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional 'user defined' VM args to pass to the language server process.",
"scope": "machine-overridable"
},
"spring-boot.ls.checkJVM": {
"type": "boolean",
"default": true,
"description": "Enable/Disable Java VM validation"
},
"spring-boot.ls.logLevel": {
"type": "string",
"enum": [
"error",
"warn",
"info",
"debug",
"trace",
"off"
],
"default": "error",
"description": "Log level for the Spring Boot Language Server"
},
"spring-boot.ls.cds.enabled": {
"type": "boolean",
"default": false,
"description": "Enable Class Data Sharing (AOT Cache) for faster Language Server startup. Requires Java 25+."
}
}
},
{
"id": "ai",
"title": "AI",
"order": 420,
"properties": {
"boot-java.ai.mcp-server-enabled": {
"type": "boolean",
"default": false,
"description": "Enable embedded MCP server (experimental)"
},
"boot-java.ai.mcp-server-port": {
"type": "integer",
"default": 50627,
"description": "Port used by the embedded MCP serverr"
}
}
},
{
"id": "boot2",
"title": "Boot 2.x Best Practices & Optimizations",
"order": 401,
"properties": {
"boot-java.validation.java.boot2": {
"type": "string",
"default": "AUTO",
"description": "Enablement",
"enum": [
"AUTO",
"OFF",
"ON"
]
},
"spring-boot.ls.problem.boot2.PATH_IN_CONTROLLER_ANNOTATION": {
"type": "string",
"default": "WARNING",
"description": "Controller annotation default attribute might contain a path",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_AUTOWIRED_CONSTRUCTOR": {
"type": "string",
"default": "WARNING",
"description": "Unnecessary `@Autowired` over the only constructor",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_PUBLIC_BEAN_METHOD": {
"type": "string",
"default": "HINT",
"description": "Public modifier on `@Bean` method. They no longer have to be public visibility to be usable by Spring.",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_TEST_SPRING_EXTENSION": {
"type": "string",
"default": "WARNING",
"description": "`@SpringBootTest` and all test slice annotations already applies `@SpringExtension` as of Spring Boot 2.1.0.",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_CONSTRUCTOR_PARAMETER_INJECTION": {
"type": "string",
"default": "WARNING",
"description": "Use constructor parameter injection",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_PRECISE_REQUEST_MAPPING": {
"type": "string",
"default": "HINT",
"description": "Use precise mapping annotation, i.e. '@GetMapping', '@PostMapping', etc.",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_PRECISE_SCOPE": {
"type": "string",
"default": "HINT",
"description": "Use precise scope annotation, i.e. '@RequestScope', '@SessionScope', '@ApplicationScope'",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_REPOSITORY": {
"type": "string",
"default": "WARNING",
"description": "Unnecessary `@Repository`",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_LAMBDA_DSL": {
"type": "string",
"default": "INFO",
"description": "Consider switching to Lambda DSL syntax",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.MISSING_CONFIGURATION_ANNOTATION": {
"type": "string",
"default": "WARNING",
"description": "Class likely missing '@Configuration' annotation, i.e. has Bean methods but no '@Configuration' annotation",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.HTTP_SECURITY_AUTHORIZE_HTTP_REQUESTS": {
"type": "string",
"default": "WARNING",
"description": "'HttpSecurity.authroizeRequests(...)' API and related classes are to be deprecated use new `authorizeHttpRequests(...) and related classes",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.WEB_SECURITY_CONFIGURER_ADAPTER": {
"type": "string",
"default": "WARNING",
"description": "'WebSecurityConfigurerAdapter' is removed in Spring-Security 6.x. Refactor classes extending the 'WebSecurityConfigurerAdapter' into 'Configuration' beans and methods into 'Bean' definitions ",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.DOMAIN_ID_FOR_REPOSITORY": {
"type": "string",
"default": "ERROR",
"description": "Invalid Domain ID type for Spring Data Repository",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.WEB_ANNOTATION_NAMES": {
"type": "string",
"default": "HINT",
"description": "Web annotation names are unnecessary when it is the same as method parameter name",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.MODEL_ATTRIBUTE_NAMES": {
"type": "string",
"default": "HINT",
"description": "`@ModelAttribute` names are unnecessary when they are the same as the default name derived from the parameter type",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.VALUE_CLASSPATH_RESOURCE_TYPE": {
"type": "string",
"default": "WARNING",
"description": "Type is not compatible with classpath resource injection",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.WEB_CONFIGURER_CONFIGURATION": {
"type": "string",
"default": "WARNING",
"description": "Class implementing a web configurer interface should be annotated with '@Configuration'",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.MISSING_VALIDATED_ANNOTATION": {
"type": "string",
"default": "WARNING",
"description": "Component class using bean validation annotations should be annotated with '@Validated'",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",
"ERROR"
]
},
"spring-boot.ls.problem.boot2.JAVA_FINAL_AUTOWIRED_FIELD": {
"type": "string",
"default": "WARNING",
"description": "`@Autowired` field should not be `final`",
"enum": [
"IGNORE",
"INFO",
"WARNING",
"HINT",