forked from MaskRay/vscode-ccls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
910 lines (910 loc) · 33.1 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
{
"name": "ccls",
"description": "C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting",
"author": "ccls-project",
"license": "MIT",
"version": "0.1.10",
"publisher": "ccls-project",
"preview": true,
"engines": {
"vscode": "^1.22.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"workspaceContains:.ccls",
"workspaceContains:compile_commands.json"
],
"main": "./out/extension",
"contributes": {
"views": {
"explorer": [
{
"id": "ccls.inheritanceHierarchy",
"name": "Inheritance Hierarchy",
"when": "extension.ccls.inheritanceHierarchyVisible"
},
{
"id": "ccls.callHierarchy",
"name": "Call Hierarchy",
"when": "extension.ccls.callHierarchyVisible"
}
]
},
"menus": {
"editor/context": [
{
"command": "ccls.inheritanceHierarchy",
"when": "resourceLangId == cpp",
"group": "[email protected]"
},
{
"command": "ccls.callHierarchy",
"when": "resourceLangId == cpp",
"group": "[email protected]"
},
{
"command": "ccls.vars",
"when": "resourceLangId == cpp",
"group": "[email protected]"
},
{
"command": "ccls.base",
"when": "resourceLangId == cpp",
"group": "[email protected]"
}
],
"view/title": [
{
"command": "ccls.closeInheritanceHierarchy",
"when": "view == ccls.inheritanceHierarchy",
"group": "navigation"
},
{
"command": "ccls.closeCallHierarchy",
"when": "view == ccls.callHierarchy",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "ccls.gotoForTreeView",
"when": "viewItem == cclsGoto"
}
],
"commandPalette": [
{
"command": "ccls.closeInheritanceHierarchy",
"when": "false"
},
{
"command": "ccls.closeCallHierarchy",
"when": "false"
},
{
"command": "ccls.gotoForTreeView",
"when": "false"
}
]
},
"commands": [
{
"title": "Reload Index",
"category": "ccls",
"command": "ccls.reload"
},
{
"title": "Restart language server",
"category": "ccls",
"command": "ccls.restart"
},
{
"title": "Inheritance Hierarchy",
"category": "ccls",
"command": "ccls.inheritanceHierarchy"
},
{
"title": "Close",
"command": "ccls.closeInheritanceHierarchy"
},
{
"title": "Call Hierarchy",
"category": "ccls",
"command": "ccls.callHierarchy"
},
{
"title": "Close",
"command": "ccls.closeCallHierarchy"
},
{
"title": "Show Variables",
"category": "ccls",
"command": "ccls.vars"
},
{
"title": "Show Cross References",
"category": "ccls",
"command": "ccls.call"
},
{
"title": "Show Base",
"category": "ccls",
"command": "ccls.base"
},
{
"title": "Go to Tree View Entry",
"category": "ccls",
"command": "ccls.gotoForTreeView"
},
{
"title": "Navigate to first child declaration",
"category": "ccls",
"command": "ccls.navigateFirstChild"
},
{
"title": "Navigate to parent declaration",
"category": "ccls",
"command": "ccls.navigateParent"
},
{
"title": "Navigate to previous declaration",
"category": "ccls",
"command": "ccls.navigatePrevious"
},
{
"title": "Navigate to next declaration",
"category": "ccls",
"command": "ccls.navigateNext"
}
],
"configuration": {
"type": "object",
"title": "ccls",
"properties": {
"ccls.launch.command": {
"type": "string",
"default": "ccls",
"description": "Path to the ccls binary (default assumes the binary is in the PATH)"
},
"ccls.launch.args": {
"type": "array",
"default": [],
"description": "Array containing extra arguments to pass to the ccls binary"
},
"ccls.cacheDirectory": {
"type": "string",
"default": ".ccls-cache",
"description": "Absolute or relative (from the project root) path to the directory that the cached index will be stored in. Try to have this directory on an SSD. If empty, cached indexes will not be saved on disk.\n\n${workspaceFolder} will be replaced by the folder where .vscode/settings.json resides.\n\nCache directories are project-wide, so this should be configured in the workspace settings so multiple indexes do not clash.\n\nExample value: \"/work/ccls-cache/chrome/\""
},
"ccls.highlighting.enabled.types": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for classes, structs, and unions is enabled/disabled."
},
"ccls.highlighting.enabled.freeStandingFunctions": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for member functions is enabled/disabled."
},
"ccls.highlighting.enabled.memberFunctions": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for member functions is enabled/disabled."
},
"ccls.highlighting.enabled.freeStandingVariables": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for member free-standing variables is enabled/disabled."
},
"ccls.highlighting.enabled.memberVariables": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for member variables is enabled/disabled."
},
"ccls.highlighting.enabled.namespaces": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for namespaces is enabled/disabled."
},
"ccls.highlighting.enabled.macros": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for macros is enabled/disabled."
},
"ccls.highlighting.enabled.enums": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for enumerations is enabled/disabled."
},
"ccls.highlighting.enabled.typeAliases": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for type aliases is enabled/disabled."
},
"ccls.highlighting.enabled.enumConstants": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for enumerators is enabled/disabled."
},
"ccls.highlighting.enabled.staticMemberFunctions": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for static member functions is enabled/disabled."
},
"ccls.highlighting.enabled.parameters": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for parameters is enabled/disabled."
},
"ccls.highlighting.enabled.templateParameters": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for template parameters is enabled/disabled."
},
"ccls.highlighting.enabled.staticMemberVariables": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for static member variables is enabled/disabled."
},
"ccls.highlighting.enabled.globalVariables": {
"type": "boolean",
"default": false,
"description": "If semantic highlighting for global variables is enabled/disabled."
},
"ccls.highlighting.colors.types": {
"type": "array",
"default": [
"#e1afc3",
"#d533bb",
"#9b677f",
"#e350b6",
"#a04360",
"#dd82bc",
"#de3864",
"#ad3f87",
"#dd7a90",
"#e0438a"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.freeStandingFunctions": {
"type": "array",
"default": [
"#e5b124",
"#927754",
"#eb992c",
"#e2bf8f",
"#d67c17",
"#88651e",
"#e4b953",
"#a36526",
"#b28927",
"#d69855"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.memberFunctions": {
"type": "array",
"default": [
"#e5b124",
"#927754",
"#eb992c",
"#e2bf8f",
"#d67c17",
"#88651e",
"#e4b953",
"#a36526",
"#b28927",
"#d69855"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.freeStandingVariables": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.memberVariables": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.namespaces": {
"type": "array",
"default": [
"#429921",
"#58c1a4",
"#5ec648",
"#36815b",
"#83c65d",
"#417b2f",
"#43cc71",
"#7eb769",
"#58bf89",
"#3e9f4a"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.macros": {
"type": "array",
"default": [
"#e79528",
"#c5373d",
"#e8a272",
"#d84f2b",
"#a67245",
"#e27a33",
"#9b4a31",
"#b66a1e",
"#e27a71",
"#cf6d49"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.enums": {
"type": "array",
"default": [
"#e1afc3",
"#d533bb",
"#9b677f",
"#e350b6",
"#a04360",
"#dd82bc",
"#de3864",
"#ad3f87",
"#dd7a90",
"#e0438a"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.typeAliases": {
"type": "array",
"default": [
"#e1afc3",
"#d533bb",
"#9b677f",
"#e350b6",
"#a04360",
"#dd82bc",
"#de3864",
"#ad3f87",
"#dd7a90",
"#e0438a"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.staticMemberFunctions": {
"type": "array",
"default": [
"#e5b124",
"#927754",
"#eb992c",
"#e2bf8f",
"#d67c17",
"#88651e",
"#e4b953",
"#a36526",
"#b28927",
"#d69855"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.enumConstants": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.parameters": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.templateParameters": {
"type": "array",
"default": [
"#e1afc3",
"#d533bb",
"#9b677f",
"#e350b6",
"#a04360",
"#dd82bc",
"#de3864",
"#ad3f87",
"#dd7a90",
"#e0438a"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.staticMemberVariables": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.colors.globalVariables": {
"type": "array",
"default": [
"#587d87",
"#26cdca",
"#397797",
"#57c2cc",
"#306b72",
"#6cbcdf",
"#368896",
"#3ea0d2",
"#48a5af",
"#7ca6b7"
],
"description": "Colors to use for semantic highlighting. A good generator is http://tools.medialab.sciences-po.fr/iwanthue/. If multiple colors are specified, semantic highlighting will cycle through them for successive symbols."
},
"ccls.highlighting.underline.types": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.freeStandingFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.memberFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.freeStandingVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.memberVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.namespaces": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.macros": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.enums": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.typeAliases": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.enumConstants": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.staticMemberFunctions": {
"type": "boolean",
"default": true
},
"ccls.highlighting.underline.parameters": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.templateParameters": {
"type": "boolean",
"default": false
},
"ccls.highlighting.underline.staticMemberVariables": {
"type": "boolean",
"default": true
},
"ccls.highlighting.underline.globalVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.types": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.freeStandingFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.memberFunctions": {
"type": "boolean",
"default": true
},
"ccls.highlighting.italic.freeStandingVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.memberVariables": {
"type": "boolean",
"default": true
},
"ccls.highlighting.italic.namespaces": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.macros": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.enums": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.typeAliases": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.enumConstants": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.staticMemberFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.parameters": {
"type": "boolean",
"default": true
},
"ccls.highlighting.italic.templateParameters": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.staticMemberVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.italic.globalVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.types": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.freeStandingFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.memberFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.freeStandingVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.memberVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.namespaces": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.macros": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.enums": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.typeAliases": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.enumConstants": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.staticMemberFunctions": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.parameters": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.templateParameters": {
"type": "boolean",
"default": true
},
"ccls.highlighting.bold.staticMemberVariables": {
"type": "boolean",
"default": false
},
"ccls.highlighting.bold.globalVariables": {
"type": "boolean",
"default": false
},
"ccls.clang.extraArgs": {
"type": "array",
"default": [],
"description": "An extra set of command line arguments to give clang when indexing. Each list entry is a separate argument."
},
"ccls.clang.excludeArgs": {
"type": "array",
"default": [],
"description": "An set of command line arguments to strip before passing to clang when indexing. Each list entry is a separate argument."
},
"ccls.clang.pathMappings": {
"type": "array",
"default": [],
"description": "Translate paths in compile_commands.json entries, .ccls options and cache files. This allows to reuse cache files built otherwhere if the source paths are different."
},
"ccls.index.whitelist": {
"type": "array",
"default": [],
"description": "If a translation unit's absolute path matches any ECMAScript regex in this list, it will be indexed. The whitelist takes priority over the blacklist. To only index files in the whitelist, make \"ccls.index.blacklist\" match everything, ie, set it to \".*\".\n\nYou probably want to begin the regex using \".*\" because the passed paths are absolute."
},
"ccls.index.blacklist": {
"type": "array",
"default": [],
"description": "A translation unit (cc/cpp file) is not indexed if any of the ECMAScript regexes in this list matches translation unit's the absolute path.\n\nYou probably want to begin the regex using \".*\" because the passed paths are absolute."
},
"ccls.clang.resourceDir": {
"type": "string",
"default": "",
"description": "Default value to use for clang -resource-dir argument. This will be automatically supplied by ccls if not provided."
},
"ccls.misc.compilationDatabaseCommand": {
"type": "string",
"default": "",
"description": "If not empty, the compilation database command to use"
},
"ccls.misc.compilationDatabaseDirectory": {
"type": "string",
"default": "",
"description": "If not empty, the compilation database directory to use instead of the project root"
},
"ccls.misc.showInactiveRegions": {
"type": "boolean",
"default": true,
"description": "If true, ccls will highlight skipped ranges."
},
"ccls.completion.include.maxPathSize": {
"type": "integer",
"default": 37,
"description": "Maximum length for path in #include proposals. If the path length goes beyond this number it will be elided. Set to 0 to always display the full path."
},
"ccls.completion.include.suffixWhitelist": {
"type": "array",
"default": [
".h",
".hpp",
".hh"
],
"description": "Only files ending in one of these values will be shown in include auto-complete. Set to the empty-list to disable include auto-complete."
},
"ccls.completion.include.whitelist": {
"type": "array",
"default": [],
"description": "ECMAScript regex that checks absolute file path. If it does not match, the file is not added to include path auto-complete. An example is \".*/src/.*\""
},
"ccls.completion.include.blacklist": {
"type": "array",
"default": [],
"description": "ECMAScript regex that checks absolute path. If it matches, the file is not added to include path auto-complete. An example is \".*/CACHE/.*\""
},
"ccls.completion.caseSensitivity": {
"type": "integer",
"default": 2,
"description": "Case sensitivity when code completion is filtered. 0: case-insensitive, 1: case-folded, i.e. insensitive if no input character is uppercase, 2: case-sensitive"
},
"ccls.completion.detailedLabel": {
"type": "boolean",
"default": false,
"description": "When this option is enabled, the completion item label is very detailed, it shows the full signature of the candidate."
},
"ccls.completion.duplicateOptional": {
"type": "boolean",
"default": false,
"description": "For functions with default arguments, generate one more item per default argument."
},
"ccls.diagnostics.blacklist": {
"type": "array",
"default": [],
"description": "Files that match these patterns won't be displayed in diagnostics view."
},
"ccls.diagnostics.whitelist": {
"type": "array",
"default": [],
"description": "Files that match these patterns will be displayed in diagnostics view."
},
"ccls.diagnostics.onOpen": {
"type": "integer",
"default": 0,
"description": "Time in milliseconds to wait before computing diagnostics when a file is opened."
},
"ccls.diagnostics.onSave": {
"type": "integer",
"default": 0,
"description": "Time in milliseconds to wait before computing diagnostics when a file is saved."
},
"ccls.diagnostics.onType": {
"type": "integer",
"default": 1000,
"description": "Time in milliseconds to wait before computing diagnostics on type. -1: disable diagnostics on type."
},
"ccls.diagnostics.spellChecking": {
"type": "boolean",
"default": true,
"description": "Whether to do spell checking on undefined symbol names when computing diagnostics."
},
"ccls.highlight.blacklist": {
"type": ["array", "null"],
"default": null,
"description": "Files that match these patterns won't have semantic highlighting."
},
"ccls.highlight.whitelist": {
"type": ["array", "null"],
"default": null,
"description": "Files that match these patterns will have semantic highlighting."
},
"ccls.highlight.largeFileSize": {
"type": ["integer", "null"],
"default": null,
"description": "Disable semantic highlighting for files larger than the size."
},
"ccls.index.initialBlacklist": {
"type": "array",
"default": [],
"description": "Files matched by the regexes should not be indexed on initialization. Indexing is deferred to when they are opened."
},
"ccls.index.initialWhitelist": {
"type": "array",
"default": [],
"description": "Files matched by the regexes should be indexed on initialization."
},
"ccls.index.multiVersion": {
"type": "integer",
"default": 0,
"description": "If not 0, a file will be indexed in each tranlation unit that includes it."
},
"ccls.index.onChange": {
"type": "boolean",
"default": false,
"description": "Allow indexing on textDocument/didChange. May be too slow for big projects, so it is off by default."
},
"ccls.index.threads": {
"type": "number",
"default": 0,
"description": "Number of indexer threads. If 0, 80% of cores are used."
},
"ccls.index.trackDependency": {
"type": "integer",
"default": 2,
"description": "Whether to reparse a file if write times of its dependencies have changed. The file will always be reparsed if its own write time changes.\n\n0: no, 1: only during initial load of project, 2: yes"
},
"ccls.codeLens.renderInline": {
"type": "boolean",
"default": false,
"description": "Enables a custom code lens renderer so code lens are displayed inline with code. This removes any vertical-space footprint at the cost of horizontal space."
},
"ccls.codeLens.localVariables": {
"type": "boolean",
"default": false,
"description": "Set to false to hide code lens on parameters and function local variables."
},
"ccls.treeViews.doubleClickTimeoutMs": {
"type": "number",
"default": 500,
"description": "If a tree view entry is double-clicked within this timeout value, vscode will navigate to the entry."
},
"ccls.theme.light.skippedRange.textColor": {
"type": "string",
"default": "rgb(100, 100, 100)",
"description": "CSS color to apply to text when the code region has been disabled by the preprocessor in a light theme."
},
"ccls.theme.light.skippedRange.backgroundColor": {
"type": "string",
"default": "rgba(220, 220, 220, 0.3)",
"description": "CSS color to apply to the background when the code region has been disabled by the preprocessor in a light theme."
},
"ccls.theme.dark.skippedRange.textColor": {
"type": "string",
"default": "rgb(100, 100, 100)",
"description": "CSS color to apply to text when the code region has been disabled by the preprocessor in a dark theme."
},
"ccls.theme.dark.skippedRange.backgroundColor": {
"type": "string",
"default": "rgba(18, 18, 18, 0.3)",
"description": "CSS color to apply to the background when the code region has been disabled by the preprocessor in a dark theme."
},
"ccls.completion.enableSnippetInsertion": {
"type": "boolean",
"default": false,
"description": "If true, parameter declarations are inserted as snippets in function/method call arguments when completing a function/method call"
},
"ccls.workspaceSymbol.caseSensitivity": {
"type": "integer",
"default": 1,
"description": "Case sensitivity when searching workspace symbols. 0: case-insensitive, 1: case-folded, i.e. insensitive if no input character is uppercase, 2: case-sensitive"
},
"ccls.workspaceSymbol.maxNum": {
"type": ["number", "null"],
"default": null,
"description": "The maximum number of global search (ie, Ctrl+P + #foo) search results to report. For small search strings on large projects there can be a massive number of results (ie, over 1,000,000) so this limit is important to avoid extremely long delays. null means use the default value provided by the ccls language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"update-vscode": "node ./node_modules/vscode/bin/install",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^9.6.14",
"typescript": "^2.8.3",
"vsce": "^1.40.0"
},
"dependencies": {
"vscode": "^1.1.18",
"vscode-languageclient": "^4.1.3"
},
"repository": {
"type": "git",
"url": "https://github.com/MaskRay/vscode-ccls.git"
}
}