-
Notifications
You must be signed in to change notification settings - Fork 442
/
package.json
1968 lines (1968 loc) · 70.4 KB
/
package.json
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": "java",
"displayName": "Language Support for Java(TM) by Red Hat",
"description": "Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...",
"author": "Red Hat",
"icon": "icons/icon128.png",
"license": "EPL-2.0",
"version": "1.37.0",
"publisher": "redhat",
"bugs": "https://github.com/redhat-developer/vscode-java/issues",
"preview": false,
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"restrictedConfigurations": [
"java.jdt.ls.java.home",
"java.home",
"java.jdt.ls.vmargs",
"java.configuration.runtimes",
"java.import.gradle.java.home",
"java.import.gradle.home"
]
},
"virtualWorkspaces": false
},
"engines": {
"vscode": "^1.77.0"
},
"repository": {
"type": "git",
"url": "https://github.com/redhat-developer/vscode-java"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters",
"Snippets"
],
"keywords": [
"multi-root ready"
],
"activationEvents": [
"onLanguage:java",
"workspaceContains:pom.xml",
"workspaceContains:*/pom.xml",
"workspaceContains:build.gradle",
"workspaceContains:*/build.gradle",
"workspaceContains:settings.gradle",
"workspaceContains:*/settings.gradle",
"workspaceContains:build.gradle.kts",
"workspaceContains:*/build.gradle.kts",
"workspaceContains:settings.gradle.kts",
"workspaceContains:*/settings.gradle.kts",
"workspaceContains:.classpath",
"workspaceContains:*/.classpath",
"onCommand:_java.templateVariables",
"onCommand:_java.metadataFilesGeneration"
],
"main": "./dist/extension",
"contributes": {
"customEditors": [
{
"viewType": "decompiled.javaClass",
"displayName": "Decompiled Java Class File",
"selector": [
{
"filenamePattern": "file:/**/*.class"
}
]
}
],
"javaBuildFilePatterns": [
"^pom\\.xml$",
".*\\.gradle(\\.kts)?$"
],
"javaBuildTools": [
{
"displayName": "Maven",
"buildFileNames": [
"pom.xml"
]
},
{
"displayName": "Gradle",
"buildFileNames": [
"build.gradle",
"settings.gradle",
"build.gradle.kts",
"settings.gradle.kts"
]
}
],
"javaShortcuts": [
{
"title": "$(settings-gear) Open Java Settings",
"command": "workbench.action.openSettings",
"arguments": [
"java"
]
},
{
"title": "$(output) Open Logs",
"command": "java.open.logs"
},
{
"title": "$(trash) Clean Workspace Cache...",
"command": "java.clean.workspace"
},
{
"command": "java.change.searchScope",
"title": "$(search) Search Scope",
"category": "Java"
}
],
"semanticTokenTypes": [
{
"id": "annotation",
"superType": "type",
"description": "Style for annotations."
},
{
"id": "annotationMember",
"superType": "method",
"description": "Style for annotation members."
},
{
"id": "modifier",
"superType": "keyword",
"description": "Style for modifier keywords."
},
{
"id": "record",
"superType": "class",
"description": "Style for records."
},
{
"id": "recordComponent",
"superType": "parameter",
"description": "Style for record components."
}
],
"semanticTokenModifiers": [
{
"id": "public",
"description": "Style for symbols with the public access modifier."
},
{
"id": "private",
"description": "Style for symbols with the private access modifier."
},
{
"id": "protected",
"description": "Style for symbols with the protected access modifier."
},
{
"id": "native",
"description": "Style for symbols with the native modifier."
},
{
"id": "generic",
"description": "Style for symbols that are generic (have type parameters)."
},
{
"id": "typeArgument",
"description": "Style for symbols that are type arguments for a generic symbol."
},
{
"id": "importDeclaration",
"description": "Style for symbols that are part of an import declaration."
},
{
"id": "constructor",
"description": "Style for symbols that are constructors."
}
],
"semanticTokenScopes": [
{
"language": "java",
"scopes": {
"annotation": [
"storage.type.annotation.java"
],
"annotationMember": [
"entity.name.annotationMember.java",
"constant.other.key.java"
],
"modifier": [
"storage.modifier.java"
],
"keyword.documentation": [
"keyword.other.documentation.javadoc.java"
],
"*.constructor": [
"entity.name.function.java"
]
}
}
],
"languages": [
{
"id": "java",
"extensions": [
".java",
".class"
],
"configuration": "./language-support/java/language-configuration.json"
},
{
"id": "java-properties",
"aliases": [
"Java Properties"
],
"extensions": [
".properties"
],
"configuration": "./language-support/properties/java-properties-configuration.json"
},
{
"id": "gradle-kotlin-dsl",
"aliases": [
"Gradle Kotlin DSL"
],
"extensions": [
".gradle.kts"
],
"configuration": "./language-support/kotlin/language-configuration.json"
}
],
"grammars": [
{
"language": "java",
"scopeName": "source.java",
"path": "./language-support/java/java.tmLanguage.json"
},
{
"language": "java-properties",
"scopeName": "source.java-properties",
"path": "./language-support/properties/JavaProperties.tmLanguage.json"
},
{
"language": "gradle-kotlin-dsl",
"scopeName": "source.gradle-kotlin-dsl",
"path": "./language-support/kotlin/kotlin.tmLanguage.json"
},
{
"injectTo": [
"source.java"
],
"scopeName": "inline.sql",
"path": "./language-support/sql/inline-sql.json",
"embeddedLanguages": {
"meta.embedded.block.sql": "sql"
}
},
{
"injectTo": [
"source.java"
],
"scopeName": "inline.json",
"path": "./language-support/json/inline-json.json",
"embeddedLanguages": {
"meta.embedded.block.json": "json"
}
},
{
"injectTo": [
"source.java"
],
"scopeName": "inline.xml",
"path": "./language-support/xml/inline-xml.json",
"embeddedLanguages": {
"meta.embedded.block.xml": "xml"
}
},
{
"injectTo": [
"source.java"
],
"scopeName": "inline.yaml",
"path": "./language-support/yaml/inline-yaml.json",
"embeddedLanguages": {
"meta.embedded.block.yaml": "yaml"
}
},
{
"injectTo": [
"source.java"
],
"scopeName": "inline.html",
"path": "./language-support/html/inline-html.json",
"embeddedLanguages": {
"meta.embedded.block.html": "html"
}
}
],
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
],
"configuration": [
{
"id": "java-startup",
"title": "Startup",
"order": 10,
"properties": {
"java.home": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the folder path to the JDK (17 or more recent) used to launch the Java Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk-17.0_3\"",
"scope": "machine-overridable",
"deprecationMessage": "This setting is deprecated, please use 'java.jdt.ls.java.home' instead.",
"order": 0
},
"java.jdt.ls.java.home": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the folder path to the JDK (17 or more recent) used to launch the Java Language Server. This setting will replace the Java extension's embedded JRE to start the Java Language Server. \n\nOn Windows, backslashes must be escaped, i.e.\n\"java.jdt.ls.java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk-17.0_3\"",
"scope": "machine-overridable",
"order": 10
},
"java.jdt.ls.vmargs": {
"type": [
"string",
"null"
],
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable",
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable` to optimize memory usage with the parallel garbage collector",
"scope": "machine-overridable",
"order": 20
},
"java.server.launchMode": {
"type": "string",
"enum": [
"Standard",
"LightWeight",
"Hybrid"
],
"enumDescriptions": [
"Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc.",
"Starts a syntax server with lower start-up cost. Only provides syntax features such as outline, navigation, javadoc, syntax errors.",
"Provides full features with better responsiveness. It starts a standard language server and a secondary syntax server. The syntax server provides syntax features until the standard server is ready."
],
"description": "The launch mode for the Java extension",
"default": "Hybrid",
"scope": "window",
"order": 30
},
"java.configuration.workspaceCacheLimit": {
"type": [
"null",
"integer"
],
"default": 90,
"minimum": 1,
"description": "The number of days (if enabled) to keep unused workspace cache data. Beyond this limit, cached workspace data may be removed.",
"scope": "application",
"order": 40
},
"java.sharedIndexes.enabled": {
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"default": "auto",
"markdownDescription": "[Experimental] Specify whether to share indexes between different workspaces. When set to `auto`, shared indexes will be enabled in Visual Studio Code - Insiders.",
"scope": "window",
"order": 50
},
"java.sharedIndexes.location": {
"type": "string",
"markdownDescription": "Specifies a common index location for all workspaces. See default values as follows:\n \nWindows: First use `\"$APPDATA\\\\.jdt\\\\index\"`, or `\"~\\\\.jdt\\\\index\"` if it does not exist\n \nmacOS: `\"~/Library/Caches/.jdt/index\"`\n \nLinux: First use `\"$XDG_CACHE_HOME/.jdt/index\"`, or `\"~/.cache/.jdt/index\"` if it does not exist",
"default": "",
"scope": "window",
"order": 60
},
"java.jdt.ls.lombokSupport.enabled": {
"type": "boolean",
"default": true,
"description": "Whether to load lombok processors from project classpath",
"scope": "window",
"order": 70
},
"java.jdt.ls.protobufSupport.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Specify whether to automatically add Protobuf output source directories to the classpath.\n\n**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher.",
"scope": "window",
"order": 80
},
"java.jdt.ls.androidSupport.enabled": {
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"default": "auto",
"markdownDescription": "[Experimental] Specify whether to enable Android project importing. When set to `auto`, the Android support will be enabled in Visual Studio Code - Insiders.\n\n**Note:** Only works for Android Gradle Plugin `3.2.0` or higher.",
"scope": "window",
"order": 90
},
"java.jdt.ls.javac.enabled": {
"type": "string",
"enum": [
"on",
"off"
],
"default": "off",
"markdownDescription": "[Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 23",
"scope": "window",
"order": 95
},
"java.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Java language server.",
"scope": "window"
},
"redhat.telemetry.enabled": {
"type": "boolean",
"default": null,
"markdownDescription": "Enable usage data and errors to be sent to Red Hat servers. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection).",
"scope": "window",
"tags": [
"usesOnlineServices",
"telemetry"
]
}
}
},
{
"id": "java-projectimport",
"title": "Project Import/Update",
"order": 20,
"properties": {
"java.import.projectSelection": {
"type": "string",
"enum": [
"manual",
"automatic"
],
"enumDescriptions": [
"Manually select the build configuration files.",
"Let extension automatically scan and select the build configuration files."
],
"default": "automatic",
"markdownDescription": "[Experimental] Specifies how to select build configuration files to import. \nNote: Currently, `Gradle` projects cannot be partially imported.",
"scope": "window",
"order": 10
},
"java.configuration.updateBuildConfiguration": {
"type": [
"string"
],
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"description": "Specifies how modifications on build files update the Java classpath/configuration",
"scope": "window",
"order": 20
},
"java.import.exclusions": {
"type": "array",
"description": "Configure glob patterns for excluding folders. Use `!` to negate patterns to allow subfolders imports. You have to include a parent directory. The order is important.",
"default": [
"**/node_modules/**",
"**/.metadata/**",
"**/archetype-resources/**",
"**/META-INF/maven/**"
],
"scope": "window"
},
"java.project.resourceFilters": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?!\\*).*"
},
"default": [
"node_modules",
"\\.git"
],
"markdownDescription": "Excludes files and folders from being refreshed by the Java Language Server, which can improve the overall performance. For example, [\"node_modules\",\"\\.git\"] will exclude all files and folders named `node_modules` or `.git`. Pattern expressions must be compatible with `java.util.regex.Pattern`. Defaults to [\"node_modules\",\"\\.git\"].",
"scope": "window"
},
"java.configuration.checkProjectSettingsExclusions": {
"deprecationMessage": "Please use 'java.import.generatesMetadataFilesAtProjectRoot' to control whether to generate the project metadata files at the project root. And use 'files.exclude' to control whether to hide the project metadata files from the file explorer.",
"type": "boolean",
"default": false,
"description": "Controls whether to exclude extension-generated project settings files (.project, .classpath, .factorypath, .settings/) from the file explorer.",
"scope": "window"
},
"java.import.generatesMetadataFilesAtProjectRoot": {
"type": "boolean",
"markdownDescription": "Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Click [HERE](command:_java.metadataFilesGeneration) to learn how to change the setting to make it take effect.",
"default": false,
"scope": "window"
},
"java.project.importOnFirstTimeStartup": {
"type": "string",
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "automatic",
"description": "Specifies whether to import the Java projects, when opening the folder in Hybrid mode for the first time.",
"scope": "application"
},
"java.project.importHint": {
"type": "boolean",
"description": "Enable/disable the server-mode switch information, when Java projects import is skipped on startup.",
"default": true,
"scope": "application"
},
"java.showBuildStatusOnStart.enabled": {
"anyOf": [
{
"enum": [
"notification",
"terminal",
"off"
],
"enumDescriptions": [
"Show the build status via progress notification on start",
"Show the build status via terminal on start",
"Do not show any build status on start"
]
},
"boolean"
],
"description": "Automatically show build status on startup.",
"default": "notification",
"scope": "window"
},
"java.project.encoding": {
"enum": [
"ignore",
"warning",
"setDefault"
],
"enumDescriptions": [
"Ignore project encoding settings",
"Show warning if a project has no explicit encoding set",
"Set the default workspace encoding settings"
],
"default": "ignore",
"markdownDescription": "Project encoding settings",
"scope": "window"
}
}
},
{
"id": "java-unmanagedfolder",
"title": "Unmanaged Folder",
"order": 30,
"properties": {
"java.project.sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "Relative paths to the workspace where stores the source files. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project.",
"default": [],
"scope": "window",
"order": 10
},
"java.project.outputPath": {
"type": [
"string",
"null"
],
"markdownDescription": "A relative path to the workspace where stores the compiled output. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project.",
"default": "",
"scope": "window",
"order": 20
},
"java.project.referencedLibraries": {
"type": [
"array",
"object"
],
"description": "Configure glob patterns for referencing local libraries to a Java project.",
"default": [
"lib/**/*.jar"
],
"properties": {
"include": {
"type": "array"
},
"exclude": {
"type": "array"
},
"sources": {
"type": "object"
}
},
"required": [
"include"
],
"additionalProperties": false,
"scope": "window",
"order": 30
}
}
},
{
"id": "java-maven",
"title": "Maven",
"order": 40,
"properties": {
"java.import.maven.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"scope": "window",
"order": 10
},
"java.import.maven.offline.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the Maven offline mode.",
"scope": "window",
"order": 20
},
"java.import.maven.disableTestClasspathFlag": {
"type": "boolean",
"default": false,
"description": "Enable/disable test classpath segregation. When enabled, this permits the usage of test resources within a Maven project as dependencies within the compile scope of other projects.",
"scope": "window",
"order": 30
},
"java.maven.downloadSources": {
"type": "boolean",
"default": false,
"description": "Enable/disable download of Maven source artifacts as part of importing Maven projects.",
"scope": "window",
"order": 40
},
"java.maven.updateSnapshots": {
"type": "boolean",
"default": false,
"description": "Force update of Snapshots/Releases.",
"scope": "window",
"order": 50
},
"java.configuration.maven.userSettings": {
"type": "string",
"default": null,
"description": "Path to Maven's user settings.xml",
"scope": "window",
"order": 60
},
"java.configuration.maven.globalSettings": {
"type": "string",
"default": null,
"description": "Path to Maven's global settings.xml",
"scope": "window",
"order": 70
},
"java.configuration.maven.notCoveredPluginExecutionSeverity": {
"type": "string",
"enum": [
"ignore",
"warning",
"error"
],
"default": "warning",
"description": "Specifies severity if the plugin execution is not covered by Maven build lifecycle.",
"scope": "window",
"order": 80
},
"java.configuration.maven.defaultMojoExecutionAction": {
"type": "string",
"enum": [
"ignore",
"warn",
"error",
"execute"
],
"default": "ignore",
"description": "Specifies default mojo execution action when no associated metadata can be detected.",
"scope": "window",
"order": 90
},
"java.configuration.maven.lifecycleMappings": {
"type": "string",
"default": null,
"description": "Path to Maven's lifecycle mappings xml",
"scope": "window",
"order": 100
}
}
},
{
"id": "java-gradle",
"title": "Gradle",
"order": 50,
"properties": {
"java.import.gradle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Gradle importer.",
"scope": "window",
"order": 10
},
"java.import.gradle.wrapper.enabled": {
"type": "boolean",
"default": true,
"description": "Use Gradle from the 'gradle-wrapper.properties' file.",
"scope": "window",
"order": 20
},
"java.import.gradle.version": {
"type": "string",
"default": null,
"description": "Use Gradle from the specific version if the Gradle wrapper is missing or disabled.",
"scope": "window",
"order": 30
},
"java.import.gradle.home": {
"type": "string",
"default": null,
"description": "Use Gradle from the specified local installation directory or GRADLE_HOME if the Gradle wrapper is missing or disabled and no 'java.import.gradle.version' is specified.",
"scope": "machine-overridable",
"order": 40
},
"java.import.gradle.java.home": {
"type": "string",
"default": null,
"description": "The location to the JVM used to run the Gradle daemon.",
"scope": "machine-overridable",
"order": 50
},
"java.import.gradle.user.home": {
"type": "string",
"default": null,
"description": "Setting for GRADLE_USER_HOME.",
"scope": "machine-overridable",
"order": 55
},
"java.import.gradle.offline.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the Gradle offline mode.",
"scope": "window",
"order": 60
},
"java.import.gradle.arguments": {
"type": "string",
"default": null,
"description": "Arguments to pass to Gradle.",
"scope": "machine",
"order": 70
},
"java.import.gradle.jvmArguments": {
"type": "string",
"default": null,
"description": "JVM arguments to pass to Gradle.",
"scope": "machine",
"order": 80
},
"java.import.gradle.annotationProcessing.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the annotation processing on Gradle projects and delegate Annotation Processing to JDT APT. Only works for Gradle 5.2 or higher.",
"scope": "window",
"order": 90
},
"java.imports.gradle.wrapper.checksums": {
"type": "array",
"items": {
"type": "object",
"default": {},
"required": [
"sha256"
],
"properties": {
"sha256": {
"type": "string",
"label": "SHA-256 checksum."
},
"allowed": {
"type": "boolean",
"default": true,
"label": "Is allowed?"
}
},
"additionalProperties": false,
"uniqueItems": true
},
"description": "Defines allowed/disallowed SHA-256 checksums of Gradle Wrappers",
"default": [],
"scope": "application"
}
}
},
{
"id": "java-build",
"title": "Build",
"order": 60,
"properties": {
"java.autobuild.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the 'auto build'",
"scope": "window",
"order": 10
},
"java.maxConcurrentBuilds": {
"type": "integer",
"default": 1,
"description": "Max simultaneous project builds",
"scope": "window",
"minimum": 1,
"order": 20
},
"java.settings.url": {
"type": "string",
"markdownDescription": "Specifies the url or file path to the workspace Java settings. See [Setting Global Preferences](https://github.com/redhat-developer/vscode-java/wiki/Settings-Global-Preferences)",
"default": null,
"scope": "window",
"order": 30
},
"java.compile.nullAnalysis.nonnull": {
"type": "array",
"default": [
"javax.annotation.Nonnull",
"org.eclipse.jdt.annotation.NonNull",
"org.springframework.lang.NonNull"
],
"markdownDescription": "Specify the Nonnull annotation types to be used for null analysis. If more than one annotation is specified, then the topmost annotation will be used first if it exists in project dependencies. This setting will be ignored if `java.compile.nullAnalysis.mode` is set to `disabled`",
"scope": "window"
},
"java.compile.nullAnalysis.nullable": {
"type": "array",
"default": [
"javax.annotation.Nullable",
"org.eclipse.jdt.annotation.Nullable",
"org.springframework.lang.Nullable"
],
"markdownDescription": "Specify the Nullable annotation types to be used for null analysis. If more than one annotation is specified, then the topmost annotation will be used first if it exists in project dependencies. This setting will be ignored if `java.compile.nullAnalysis.mode` is set to `disabled`",
"scope": "window"
},
"java.compile.nullAnalysis.nonnullbydefault": {
"type": "array",
"default": [
"javax.annotation.ParametersAreNonnullByDefault",
"org.eclipse.jdt.annotation.NonNullByDefault",
"org.springframework.lang.NonNullApi"
],
"markdownDescription": "Specify the NonNullByDefault annotation types to be used for null analysis. If more than one annotation is specified, then the topmost annotation will be used first if it exists in project dependencies. This setting will be ignored if `java.compile.nullAnalysis.mode` is set to `disabled`",
"scope": "window"
},
"java.compile.nullAnalysis.mode": {
"type": "string",
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"markdownDescription": "Specify how to enable the annotation-based null analysis.",
"scope": "window"
},
"java.errors.incompleteClasspath.severity": {
"type": [
"string"
],
"enum": [
"ignore",
"info",
"warning",
"error"
],
"default": "warning",
"description": "Specifies the severity of the message when the classpath is incomplete for a Java file",
"scope": "window"
}
}
},
{
"id": "java-jdks",
"title": "Installed JDKs",
"order": 70,
"properties": {
"java.configuration.runtimes": {
"type": "array",
"description": "Map Java Execution Environments to local JDKs.",
"items": {
"type": "object",
"default": {},
"required": [
"path",
"name"
],
"properties": {
"name": {
"type": "string",
"enum": [
"J2SE-1.5",
"JavaSE-1.6",
"JavaSE-1.7",
"JavaSE-1.8",
"JavaSE-9",
"JavaSE-10",
"JavaSE-11",
"JavaSE-12",
"JavaSE-13",
"JavaSE-14",
"JavaSE-15",
"JavaSE-16",
"JavaSE-17",
"JavaSE-18",
"JavaSE-19",
"JavaSE-20",
"JavaSE-21",
"JavaSE-22",
"JavaSE-23"
],
"description": "Java Execution Environment name. Must be unique."
},
"path": {
"type": "string",
"pattern": ".*(?<!\\/bin|\\/bin\\/|\\\\bin|\\\\bin\\\\)$",
"description": "JDK home path. Should be the JDK installation directory, not the Java bin path.\n On Windows, backslashes must be escaped, i.e.\n\"path\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\"."
},
"sources": {
"type": "string",
"description": "JDK sources path."
},
"javadoc": {
"type": "string",
"description": "JDK javadoc path."
},
"default": {
"type": "boolean",
"description": "Is default runtime? Only one runtime can be default."
}
},
"additionalProperties": false
},
"default": [],
"scope": "machine-overridable"
},
"java.configuration.detectJdksAtStart": {
"type": "boolean",
"default": true,
"markdownDescription": "Automatically detect JDKs installed on local machine at startup. If you have specified the same JDK version in `#java.configuration.runtimes#`, the extension will use that version first."
}
}
},
{
"id": "java-formatting",
"title": "Formatting",
"order": 80,
"properties": {
"java.format.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable default Java formatter",
"scope": "window",
"order": 10
},
"java.format.settings.url": {
"type": "string",
"markdownDescription": "Specifies the url or file path to the [Eclipse formatter xml settings](https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings).",
"default": null,
"scope": "window",
"order": 20
},
"java.format.settings.profile": {
"type": "string",
"description": "Optional formatter profile name from the Eclipse formatter settings.",
"default": null,
"scope": "window",
"order": 30
},
"java.format.comments.enabled": {
"type": "boolean",
"description": "Includes the comments during code formatting.",
"default": true,