-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
1153 lines (1153 loc) · 43.9 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": "coc-java",
"version": "1.15.2",
"description": "Java language extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"engines": {
"coc": ">=0.0.82"
},
"keywords": [
"coc.nvim",
"java",
"languageserver"
],
"repository": {
"type": "git",
"url": "https://github.com/neoclide/coc-java"
},
"bugs": "https://github.com/neoclide/coc-java/issues",
"scripts": {
"build": "node esbuild.js",
"prepare": "node esbuild.js"
},
"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"
],
"contributes": {
"rootPatterns": [
{
"filetype": "java",
"patterns": [
".git",
"package.json",
".project",
".classpath",
"build.gradle.kts",
"build.gradle"
]
}
],
"snippets": [
{
"language": "java",
"path": "./snippets/java.json"
}
],
"configuration": {
"type": "object",
"title": "Java",
"properties": {
"java.enabled": {
"type": "boolean",
"default": true,
"description": "When false, coc-java is disabled."
},
"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."
},
"java.jdt.ls.directory": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the directory that contains jdt.ls",
"scope": "application"
},
"java.jdt.ls.statusIcons": {
"type": [
"object",
"null"
],
"default": null,
"description": "Specifies the status icon for the Java Language Server. The status icon is displayed in the status bar when the Java Language Server is running. default to {\"ready\": \"OK\", \"warning\": \"Warning\", \"Error\", \"Error\"}"
},
"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"
},
"java.jdt.ls.bundles": {
"type": "array",
"default": [],
"scope": "window",
"description": "Additional bundles to load when starting jdt.ls, e.g. those from vscode-java-debug, vscode-java-test, etc."
},
"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"
},
"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"
},
"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.configuration.updateBuildConfiguration": {
"type": [
"string"
],
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"description": "Specifies how modifications on build files update the Java classpath/configuration",
"scope": "window"
},
"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"
},
"java.import.maven.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"scope": "window"
},
"java.import.maven.offline.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the Maven offline mode.",
"scope": "window"
},
"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"
},
"java.import.gradle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Gradle importer.",
"scope": "window"
},
"java.import.gradle.wrapper.enabled": {
"type": "boolean",
"default": true,
"description": "Use Gradle from the 'gradle-wrapper.properties' file.",
"scope": "window"
},
"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"
},
"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": "window"
},
"java.import.gradle.java.home": {
"type": "string",
"default": null,
"description": "The location to the JVM used to run the Gradle daemon.",
"scope": "machine-overridable"
},
"java.import.gradle.offline.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the Gradle offline mode.",
"scope": "window"
},
"java.import.gradle.arguments": {
"type": "string",
"default": null,
"description": "Arguments to pass to Gradle.",
"scope": "machine"
},
"java.import.gradle.jvmArguments": {
"type": "string",
"default": null,
"description": "JVM arguments to pass to Gradle.",
"scope": "machine"
},
"java.import.gradle.user.home": {
"type": "string",
"default": null,
"description": "Setting for GRADLE_USER_HOME.",
"scope": "window"
},
"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"
},
"java.maven.downloadSources": {
"type": "boolean",
"default": false,
"description": "Enable/disable download of Maven source artifacts as part of importing Maven projects.",
"scope": "window"
},
"java.eclipse.downloadSources": {
"type": "boolean",
"default": false,
"description": "Enable/disable download of Maven source artifacts for Eclipse projects.",
"scope": "window"
},
"java.maven.updateSnapshots": {
"type": "boolean",
"default": false,
"description": "Force update of Snapshots/Releases.",
"scope": "window"
},
"java.referencesCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the references code lens.",
"scope": "window"
},
"java.signatureHelp.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the signature help.",
"scope": "window"
},
"java.signatureHelp.description.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable to show the description in signature help.",
"scope": "window"
},
"java.implementationsCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the implementations code lens.",
"scope": "window"
},
"java.configuration.maven.userSettings": {
"type": "string",
"default": null,
"description": "Path to Maven's user settings.xml",
"scope": "window"
},
"java.configuration.maven.globalSettings": {
"type": "string",
"default": null,
"description": "Path to Maven's global settings.xml",
"scope": "window"
},
"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"
},
"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"
},
"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"
},
"java.format.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable default Java formatter",
"scope": "window"
},
"java.saveActions.organizeImports": {
"type": "boolean",
"default": false,
"description": "Enable/disable auto organize imports on save action",
"scope": "window"
},
"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.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.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"
},
"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"
},
"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"
},
"java.contentProvider.preferred": {
"type": "string",
"description": "Preferred content provider (a 3rd party decompiler id, usually)",
"default": null,
"scope": "window"
},
"java.autobuild.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the 'auto build'",
"scope": "window"
},
"java.maxConcurrentBuilds": {
"type": "integer",
"default": 1,
"description": "Max simultaneous project builds",
"scope": "window",
"minimum": 1
},
"java.recommendations.dependency.analytics.show": {
"type": "boolean",
"default": true,
"description": "Show the recommended Dependency Analytics extension.",
"scope": "window"
},
"java.completion.maxResults": {
"type": "integer",
"default": 0,
"markdownDescription": "Maximum number of completion results (not including snippets).\n`0` (the default value) disables the limit, all results are returned. In case of performance problems, consider setting a sensible limit.",
"scope": "window"
},
"java.completion.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable code completion support",
"scope": "window"
},
"java.completion.guessMethodArguments": {
"type": "boolean",
"default": true,
"description": "When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.",
"scope": "window"
},
"java.completion.favoriteStaticMembers": {
"type": "array",
"description": "Defines a list of static members or types with static members. Content assist will propose those static members even if the import is missing.",
"default": [
"org.junit.Assert.*",
"org.junit.Assume.*",
"org.junit.jupiter.api.Assertions.*",
"org.junit.jupiter.api.Assumptions.*",
"org.junit.jupiter.api.DynamicContainer.*",
"org.junit.jupiter.api.DynamicTest.*",
"org.mockito.Mockito.*",
"org.mockito.ArgumentMatchers.*",
"org.mockito.Answers.*"
],
"scope": "window"
},
"java.completion.filteredTypes": {
"type": "array",
"description": "Defines the type filters. All types whose fully qualified name matches the selected filter strings will be ignored in content assist or quick fix proposals and when organizing imports. For example 'java.awt.*' will hide all types from the awt packages.",
"default": [
"java.awt.*",
"com.sun.*",
"sun.*",
"jdk.*",
"org.graalvm.*",
"io.micrometer.shaded.*"
],
"scope": "window"
},
"java.completion.importOrder": {
"type": "array",
"description": "Defines the sorting order of import statements. A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import is always added to the most specific group. As a result, the empty string (e.g. '') can be used to group all other imports. Static imports are prefixed with a '#'",
"default": [
"#",
"java",
"javax",
"org",
"com",
""
],
"scope": "window"
},
"java.completion.postfix.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable/disable postfix completion support. `#editor.snippetSuggestions#` can be used to customize how postfix snippets are sorted.",
"scope": "window"
},
"java.completion.matchCase": {
"type": "string",
"enum": [
"auto",
"firstLetter",
"off"
],
"enumDescriptions": [
"Only match case for the first letter when using Visual Studio Code - Insiders.",
"Match case for the first letter when doing completion.",
"Do not match case when doing completion."
],
"default": "auto",
"markdownDescription": "Specify whether to match case for code completion.",
"scope": "window"
},
"java.foldingRange.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable smart folding range support. If disabled, it will use the default indentation-based folding range provided by VS Code.",
"scope": "window"
},
"java.progressReports.enabled": {
"type": "boolean",
"description": "[Experimental] Enable/disable progress reports from background processes on the server.",
"default": true,
"scope": "window"
},
"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"
},
"java.format.settings.profile": {
"type": "string",
"description": "Optional formatter profile name from the Eclipse formatter settings.",
"default": null,
"scope": "window"
},
"java.format.comments.enabled": {
"type": "boolean",
"description": "Includes the comments during code formatting.",
"default": true,
"scope": "window"
},
"java.format.onType.enabled": {
"type": "boolean",
"description": "Enable/disable automatic block formatting when typing `;`, `<enter>` or `}`",
"default": true,
"scope": "window"
},
"java.codeGeneration.hashCodeEquals.useJava7Objects": {
"type": "boolean",
"description": "Use Objects.hash and Objects.equals when generating the hashCode and equals methods. This setting only applies to Java 7 and higher.",
"default": false,
"scope": "window"
},
"java.codeGeneration.hashCodeEquals.useInstanceof": {
"type": "boolean",
"description": "Use 'instanceof' to compare types when generating the hashCode and equals methods.",
"default": false,
"scope": "window"
},
"java.codeGeneration.useBlocks": {
"type": "boolean",
"description": "Use blocks in 'if' statements when generating the methods.",
"default": false,
"scope": "window"
},
"java.codeGeneration.generateComments": {
"type": "boolean",
"description": "Generate method comments when generating the methods.",
"default": false,
"scope": "window"
},
"java.codeGeneration.toString.template": {
"type": "string",
"description": "The template for generating the toString method.",
"default": "${object.className} [${member.name()}=${member.value}, ${otherMembers}]"
},
"java.codeGeneration.toString.codeStyle": {
"type": "string",
"enum": [
"STRING_CONCATENATION",
"STRING_BUILDER",
"STRING_BUILDER_CHAINED",
"STRING_FORMAT"
],
"enumDescriptions": [
"String concatenation",
"StringBuilder/StringBuffer",
"StringBuilder/StringBuffer - chained call",
"String.format/MessageFormat"
],
"description": "The code style for generating the toString method.",
"default": "STRING_CONCATENATION"
},
"java.codeGeneration.toString.skipNullValues": {
"type": "boolean",
"description": "Skip null values when generating the toString method.",
"default": false,
"scope": "window"
},
"java.codeGeneration.toString.listArrayContents": {
"type": "boolean",
"description": "List contents of arrays instead of using native toString().",
"default": true,
"scope": "window"
},
"java.codeGeneration.toString.limitElements": {
"type": "integer",
"description": "Limit number of items in arrays/collections/maps to list, if 0 then list all.",
"default": 0,
"scope": "window"
},
"java.codeGeneration.insertionLocation": {
"type": "string",
"enum": [
"afterCursor",
"beforeCursor",
"lastMember"
],
"enumDescriptions": [
"Insert the generated code after the member where the cursor is located.",
"Insert the generated code before the member where the cursor is located.",
"Insert the generated code as the last member of the target type."
],
"description": "Specifies the insertion location of the code generated by source actions.",
"default": "afterCursor",
"scope": "window"
},
"java.selectionRange.enabled": {
"type": "boolean",
"default": true,
"description": "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.",
"scope": "window"
},
"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.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"
],
"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.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": "Standard",
"scope": "window"
},
"java.sources.organizeImports.starThreshold": {
"type": "integer",
"description": "Specifies the number of imports added before a star-import declaration is used.",
"default": 99,
"scope": "window",
"minimum": 1
},
"java.sources.organizeImports.staticStarThreshold": {
"type": "integer",
"description": "Specifies the number of static imports added before a star-import declaration is used.",
"default": 99,
"scope": "window",
"minimum": 1
},
"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"
},
"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.project.resourceFilters": {
"type": "array",
"default": [
"node_modules",
"\\.git"
],
"description": "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.templates.fileHeader": {
"type": "array",
"markdownDescription": "Specifies the file header comment for new Java file. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](command:_java.templateVariables).",
"scope": "window",
"default": []
},
"java.templates.typeComment": {
"type": "array",
"markdownDescription": "Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](command:_java.templateVariables).",
"scope": "window",
"default": []
},
"java.references.includeAccessors": {
"type": "boolean",
"default": true,
"description": "Include getter, setter and builder/constructor when finding references.",
"scope": "window"
},
"java.references.includeDecompiledSources": {
"type": "boolean",
"default": true,
"description": "Include the decompiled sources when finding references.",
"scope": "window"
},
"java.typeHierarchy.lazyLoad": {
"type": "boolean",
"default": false,
"description": "Enable/disable lazy loading the content in type hierarchy. Lazy loading could save a lot of loading time but every type should be expanded manually to load its content.",
"scope": "window"
},
"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"
},
"java.symbols.includeSourceMethodDeclarations": {
"type": "boolean",
"markdownDescription": "Include method declarations from source files in symbol search.",
"default": false,
"scope": "window"
},
"java.quickfix.showAt": {
"type": "string",
"enum": [
"line",
"problem"
],
"default": "line",
"description": "Show quickfixes at the problem or line level.",
"scope": "window"
},
"java.inlayHints.parameterNames.enabled": {
"type": "string",
"enum": [
"none",
"literals",
"all"
],
"enumDescriptions": [
"Disable parameter name hints",
"Enable parameter name hints only for literal arguments",
"Enable parameter name hints for literal and non-literal arguments"
],
"default": "literals",
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n `#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay hints for methods.",
"scope": "window"
},
"java.inlayHints.parameterNames.exclusions": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "The patterns for the methods that will be disabled to show the inlay hints. Supported pattern examples:\n - `java.lang.Math.*` - All the methods from java.lang.Math.\n - `*.Arrays.asList` - Methods named as 'asList' in the types named as 'Arrays'.\n - `*.println(*)` - Methods named as 'println'.\n - `(from, to)` - Methods with two parameters named as 'from' and 'to'.\n - `(arg*)` - Methods with one parameter whose name starts with 'arg'.",
"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"
},
"java.jdt.ls.lombokSupport.enabled": {
"type": "boolean",
"default": true,
"description": "Whether to load lombok processors from project classpath",
"scope": "window"
},
"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"
},
"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"
},
"java.codeAction.sortMembers.avoidVolatileChanges": {
"type": "boolean",
"default": true,
"description": "Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring.",
"scope": "window"
},
"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.mode": {
"type": "string",
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"markdownDescription": "Specify how to enable the annotation-based null analysis.",
"scope": "window"
},
"java.cleanup.actionsOnSave": {
"type": "array",
"markdownDescription": "The list of clean ups to be run on the current document when it's saved. Clean ups can automatically fix code style or programming mistakes. Click [HERE](command:_java.learnMoreAboutCleanUps) to learn more about what each clean up does.",
"items": {
"type": "string",
"enum": [
"qualifyMembers",
"qualifyStaticMembers",
"addOverride",
"addDeprecated",
"stringConcatToTextBlock",
"invertEquals",
"addFinalModifier",
"instanceofPatternMatch",
"lambdaExpression",
"switchExpression",
"tryWithResource"
]
},
"default": [],
"scope": "window"
},
"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"
},
"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"
},
"java.refactoring.extract.interface.replace": {
"type": "boolean",
"markdownDescription": "Specify whether to replace all the occurrences of the subtype with the new extracted interface.",
"default": true
}
}
},
"commands": [
{
"command": "java.server.mode.switch",
"title": "Switch to Standard Mode",
"category": "Java"
},
{
"command": "java.projectConfiguration.update",
"title": "Reload Projects",
"category": "Java"
},
{
"command": "java.project.import.command",