-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathplugin.xml
More file actions
1061 lines (953 loc) · 55.6 KB
/
plugin.xml
File metadata and controls
1061 lines (953 loc) · 55.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<idea-plugin>
<id>com.redhat.devtools.lsp4ij</id>
<name>LSP4IJ</name>
<version>1.0</version>
<vendor email="developers@redhat.com" url="https://github.com/redhat-developer/lsp4ij/issues">Red-Hat</vendor>
<change-notes><![CDATA[
<h3>0.17.0</h3>
<ul>
<li>Improved language server lifecycle management (start/stop/restart) to prevent unexpected errors</li>
<li>Fixed various bugs and improved stability for LSP and DAP</li>
</ul>
See the full list of changes in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/21?closed=1">changelog</a>.
<h3>0.16.1</h3>
<ul>
<li>fix Hit CancellationException when using "Shift+Shift" (Search Everywhere)</li>
<li>fix DAPDebuggerEvaluator.getExpressionInfoAtOffsetAsync must not return null</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/20?closed=1">changelog</a>.
<h3>0.16.0</h3>
<ul>
<li>DAP support for <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/UserGuide.md#disassemble">Disassembly</a></li>
<li>Various bug fixes and stability improvements for LSP and DAP</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/19?closed=1">changelog</a>.
<h3>0.15.0</h3>
<ul>
<li>Improved DAP support: added <code>runInTerminal</code> and thread panels</li>
<li>DAP API enhancements: customize breakpoint types and settings editors</li>
<li>Various bug fixes and stability improvements</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/18?closed=1">changelog</a>.
<h3>0.14.2</h3>
<ul>
<li>Fix bug to show the “Install Server” notification only for <code>TextMate</code> and <code>PlainText</code> files.</li>
<li>Add <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/user-defined-ls/jq-lsp.md">jq-lsp</a> user defined language server.</li>
<li>Add <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/user-defined-ls/terraform-ls.md">terraform-ls</a> user defined language server.</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/17?closed=1">changelog</a>.
<h3>0.14.1</h3>
<ul>
<li>Show the “Install Server” notification only for <code>TextMate</code> and <code>PlainText</code> files.</li>
<li>Install language servers via <code>npm</code> in <code>node_modules</code>.</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/16?closed=1">changelog</a>.
<h3>0.14.0</h3>
<ul>
<li>Support for declarative installers for Language Servers and Debug Adapters — <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServerTemplate.md#installer-descriptor">Learn more</a></li>
<li>Display installation status and provide install actions directly in the LSP Explorer</li>
<li>New API: <code>LanguageServerSettingsContributor</code> to allow IntelliJ plugins to contribute custom UI settings — <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#contribute-to-ui-settings">See usage</a></li>
<li>New language server templates: Ada, Astro, Camel, Clangd, Dart, Luau, Ruby, SDL, and Svelte</li>
<li>New debug adapter template: CodeLLDB</li>
<li>Performance improvements for workspace symbol resolution</li>
<li>Various bug fixes and stability enhancements</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/15?closed=1">changelog</a>.
<h3>0.13.0</h3>
<ul>
<li>Report problem in the project view</li>
<li>Improved IntelliJ startup performance by launching the language server only for visible editors</li>
<li>Performance improvements for diagnostics</li>
<li>Hide Semantic Tokens Inspector from toolbar</li>
<li>Support for conditional / exception DAP breakpoints</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/14?closed=1">changelog</a>.
<h3>0.12.0</h3>
<ul>
<li>Support for textDocument/diagnostic (Pull diagnostic)</li>
<li>Support for 'Inspect Code...' to show diagnostics from opened/closed files</li>
<li>Support for breadcrumbs/sticky lines based on LSP DocumentSymbol</li>
<li>Resolve CodeLens only for visible view port</li>
<li>Performance improvements for LSP inlay hints, code lenses and semantic tokens</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/13?closed=1">changelog</a>.
<h3>0.11.0</h3>
<ul>
<li>Performance improvements for LSP inlay hints</li>
<li>Performance improvements for LSP semantic tokens</li>
<li>Enhanced TextMate editing experience</li>
<li><a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPApi.md#language-server-installer">Language Server Installer API</a> introduced</li>
<li>Improved Debug DAP support, now with "attach" functionality for supporting <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/user-defined-dap/python-debugpy.md">Python - Debugpy</a></li>
<li>New (experimental) <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/DeveloperGuide.md>extension point to register a DAP server</a> introduced</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/12?closed=1">changelog</a>.
<h3>0.10.0</h3>
<ul>
<li><a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/UserGuide.md" >Debug Adapter Protocol</a> support</li>
<li>LSP textDocument/onTypeFormatting support</li>
<li>On type formating client side, based on LSP selectionRanges / foldingRange</li>
<li>LSP Inlay Hints improvement by adopting no deprecated codeInsight.declarativeInlayProviderFactory extension point.</li>
<li>LSP API to customize file URI</li>
<li>LSP API to customize LSP progress</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/11?closed=1">changelog</a>.
<h3>0.9.0</h3>
<ul>
<li>Support for <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#selection-range">Selection Range</a></li>
<li>Use standard menu Implementation(s) (Ctrl+Alt+B) to execute <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#implementation">Implementation</a></li>
<li>Use standard menu Type Declaration (Ctrl+Shift+B) to execute <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#type-definition">Type definition</a></li>
<li>LSP code folding improvements for braced blocks and code block provider implementation based on that same information</li>
<li>Show workspace symbols with Class, Struct, Type kind in the standard Class tab (Ctrl+N)</li>
<li>Provide completion, validation, etc for configuring user-defined language servers based on JSON Schema</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/10?closed=1">changelog</a>.
<h3>0.8.1</h3>
<ul>
<li>Remove using internal API ProjectIndexingActivityHistoryListener</li>
<li>JSON support for configuring user-defined language servers</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/9?closed=1">changelog</a>.
<h3>0.8.0</h3>
<ul>
<li>Support for <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#call-hierarchy">Call Hierarchy</a></li>
<li>Support for <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#type-hierarchy">Type Hierarchy</a></li>
<li>Starting the language servers after all projects are indexed to ensure very good performance of the IntelliJ startup</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/8?closed=1">changelog</a>.
<h3>0.7.0</h3>
<ul>
<li>Support for documentSelector in <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#client_registerCapability">registerCapability</a></li>
<li>Provide the <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPApi.md">LSP client features API</a></li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/7?closed=1">changelog</a>.
<h3>0.6.0</h3>
<ul>
<li>Support for textDocument/documentSymbol</li>
<li>Provide a new way to connect to a language server with <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#osprocessstreamconnectionprovider">OSProcessStreamConnectionProvider</a></li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/6?closed=1">changelog</a>.
<h3>0.5.0</h3>
<ul>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/5?closed=1">changelog</a>.
<h3>0.4.0</h3>
<ul>
<li>Support for workspace/symbol</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/4?closed=1">changelog</a>.
<h3>0.3.0</h3>
<ul>
<li>Support for textDocument/semanticTokens</li>
<li>Support file link in hover</li>
<li>Improve performance</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/3?closed=1">changelog</a>.
<h3>0.0.2</h3>
<ul>
<li>Provide an API to enable/disable & start/stop language server</li>
<li>Support for syntax coloration for Markdown code block and indented blockquote on hover, completion documentation.</li>
<li>Support 'deprecated'/'unnecessary' diagnostic tags</li>
<li>Support for LSP 'workspace/configuration'</li>
<li>Support for triggered chars in LSP completion support</li>
<li>Support for labelDetails in completion</li>
<li>Display platform file icons on completion</li>
<li>Provides menu for LSP implementation/references/declaration/type definition</li>
<li>Export user defined language server</li>
<li>Support Macros in the start LS command</li>
<li>Improve performance</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/2?closed=1">changelog</a>.
<h3>0.0.1</h3>
<ul>
<li>Initial release</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/1?closed=1">changelog</a>.
]]>
</change-notes>
<description>
<![CDATA[
<p>
<a href="https://github.com/redhat-developer/lsp4ij">LSP4IJ</a>
is a free and open-source
<ul>
<li><a href="https://microsoft.github.io/language-server-protocol/">Language Server protocol (LSP)</a> client compatible with all flavors of IntelliJ.</li>
<li><a href="https://microsoft.github.io/debug-adapter-protocol/" >Debug Adapter Protocol</a> support
with <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/UserGuide.md" >Debug Adapter Protocol Run/Debug configuration</a>.</li>
</ul>
</p>
<p>It allows you to integrate any <code>language server</code> that communicates with its client via <code>stdio</code>:
</p>
<ul>
<li>by <code>developing an IntelliJ plugin</code> with LSP <code>extension points</code>:
<ul>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#declare-server-with-extension-point">
com.redhat.devtools.lsp4ij.server
</a>
extension point to define a language server.
</li>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#declare-language-mapping-with-extension-point">
com.redhat.devtools.lsp4ij.languageMapping
</a>
to associate an IntelliJ language with a language server definition.
</li>
</ul>
</li>
<li>by manually adding <a
href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServer.md">language
server definitions</a>, supporting custom server settings. This approach doesn't require developing a
specific IntelliJ plugin.
</li>
</ul>
<p>LSP4IJ also provides:</p>
<ul>
<li>An <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserGuide.md#lsp-console">LSP Consoles
view
</a> to track LSP requests, responses, and notifications in a console.
</li>
<li>A <a
href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserGuide.md#language-servers-preferences">
Language Servers preferences page
</a> to configure the LSP trace level and the debug port to use to debug the language server.
</li>
</ul>
<p>You can find more documentation in:
<ul>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md">the developer guide
</a>,
providing step-by-step instructions on how to integrate a language server in LSP4IJ, in an external IntelliJ plugin.
</li>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServer.md">the User-defined language server documentation
</a>, explaining how to integrate a language server in LSP4IJ with a few settings.
</li>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserGuide.md">the user guide</a>, explaining how to use the
LSP console and Language Server preferences.
</li>
<li>
<a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md">the LSP Support overview</a>, describing which LSP features are implemented, and how.
</li>
</ul>
</p>
]]>
</description>
<depends>com.intellij.modules.platform</depends>
<depends optional="true" config-file="plugin-textmate.xml">org.jetbrains.plugins.textmate</depends>
<depends optional="true" config-file="plugin-telemetry.xml">com.redhat.devtools.intellij.telemetry</depends>
<depends optional="true" config-file="plugin-json.xml">com.intellij.modules.json</depends>
<depends optional="true" config-file="plugin-terminal.xml">org.jetbrains.plugins.terminal</depends>
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
<idea-version since-build="233.*"/>
<!-- Server Installer support -->
<extensionPoints>
<!-- Installer task factory -->
<extensionPoint
name="installerTaskFactory"
beanClass="com.redhat.devtools.lsp4ij.installation.definition.InstallerTaskFactoryPointBean">
<with attribute="factoryClass"
implements="com.redhat.devtools.lsp4ij.installation.definition.InstallerTaskFactory"/>
</extensionPoint>
</extensionPoints>
<extensions defaultExtensionNs="com.redhat.devtools.lsp4ij">
<installerTaskFactory
type="exec"
factoryClass="com.redhat.devtools.lsp4ij.installation.definition.tasks.ExecTaskFactory"/>
<installerTaskFactory
type="showMessage"
factoryClass="com.redhat.devtools.lsp4ij.installation.definition.tasks.ShowMessageTaskFactory"/>
<installerTaskFactory
type="download"
factoryClass="com.redhat.devtools.lsp4ij.installation.definition.tasks.DownloadTaskFactory"/>
<installerTaskFactory
type="configureServer"
factoryClass="com.redhat.devtools.lsp4ij.installation.definition.tasks.ConfigureServerTaskFactory"/>
</extensions>
<extensions defaultExtensionNs="com.intellij">
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.installation.download.GitHubAssetFetcherManager"/>
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.installation.download.MavenArtifactFetcherManager"/>
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.installation.definition.ServerInstallerManager"/>
</extensions>
<!-- LSP extension points -->
<extensionPoints>
<!-- Language server extension point -->
<extensionPoint
name="server"
beanClass="com.redhat.devtools.lsp4ij.server.definition.extension.ServerExtensionPointBean">
<with attribute="factoryClass" implements="com.redhat.devtools.lsp4ij.LanguageServerFactory"/>
</extensionPoint>
<!-- Language server mappings extension point -->
<extensionPoint
name="languageMapping"
beanClass="com.redhat.devtools.lsp4ij.server.definition.extension.LanguageMappingExtensionPointBean">
<with attribute="documentMatcher" implements="com.redhat.devtools.lsp4ij.DocumentMatcher"/>
</extensionPoint>
<extensionPoint
name="fileTypeMapping"
beanClass="com.redhat.devtools.lsp4ij.server.definition.extension.FileTypeMappingExtensionPointBean">
<with attribute="documentMatcher" implements="com.redhat.devtools.lsp4ij.DocumentMatcher"/>
</extensionPoint>
<extensionPoint
name="fileNamePatternMapping"
beanClass="com.redhat.devtools.lsp4ij.server.definition.extension.FileNamePatternMappingExtensionPointBean">
<with attribute="documentMatcher" implements="com.redhat.devtools.lsp4ij.DocumentMatcher"/>
</extensionPoint>
<!-- Semantic tokens colors provider extension point -->
<extensionPoint
name="semanticTokensColorsProvider"
beanClass="com.redhat.devtools.lsp4ij.server.definition.extension.SemanticTokensColorsProviderExtensionPointBean">
<with attribute="class"
implements="com.redhat.devtools.lsp4ij.features.semanticTokens.SemanticTokensColorsProvider"/>
</extensionPoint>
</extensionPoints>
<!-- Language Server support -->
<extensions defaultExtensionNs="com.intellij">
<backgroundPostStartupActivity
implementation="com.redhat.devtools.lsp4ij.internal.LSPPostStartupActivity"/>
<!-- LSP Editor notification used to suggest installation of some language servers according the editing file -->
<editorNotificationProvider
implementation="com.redhat.devtools.lsp4ij.ui.LanguageServerSuggestionEditorNotificationProvider"/>
<!-- LSP application services -->
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.client.indexing.ProjectIndexingDumbAndScanningStrategy"/>
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.internal.telemetry.TelemetryManager"/>
<applicationService
serviceImplementation="com.redhat.devtools.lsp4ij.LanguageServersRegistry"/>
<applicationService
id="com.redhat.devtools.lsp4ij.launching.UserDefinedLanguageServerSettings"
serviceImplementation="com.redhat.devtools.lsp4ij.launching.UserDefinedLanguageServerSettings"/>
<applicationService
id="com.redhat.devtools.lsp4ij.launching.templates.LanguageServerTemplateManager"
serviceImplementation="com.redhat.devtools.lsp4ij.launching.templates.LanguageServerTemplateManager"/>
<!-- LSP project services -->
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.client.indexing.ProjectIndexingManager"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.LanguageServerManager"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.internal.editor.EditorFeatureManager"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.LanguageServiceAccessor"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.lifecycle.LanguageServerLifecycleManager"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.usages.LSPUsagesManager"/>
<projectService
serviceImplementation="com.redhat.devtools.lsp4ij.features.documentation.MarkdownConverter"/>
<!-- LSP textDocument/publishDiagnostics notification support -->
<externalAnnotator
id="LSPDiagnosticAnnotator"
language=""
implementationClass="com.redhat.devtools.lsp4ij.features.diagnostics.LSPDiagnosticAnnotator"/>
<localInspection id="LSPLocalInspectionTool"
language=""
enabledByDefault="true"
groupName="Language Servers"
displayName="Diagnostics"
implementationClass="com.redhat.devtools.lsp4ij.inspections.LSPLocalInspectionTool"/>
<problemFileHighlightFilter id="LSPProblemFileHighlightFilter"
implementation="com.redhat.devtools.lsp4ij.features.diagnostics.LSPProblemFileHighlightFilter"/>
<!-- LSP textDocument/completion request support -->
<typedHandler id="LSPCompletionTriggerTypedHandler"
order="last"
implementation="com.redhat.devtools.lsp4ij.features.completion.LSPCompletionTriggerTypedHandler"/>
<completion.contributor
id="LSPCompletionContributor"
language="any"
implementationClass="com.redhat.devtools.lsp4ij.features.completion.LSPCompletionContributor"
order="first, before wordCompletion"/>
<!-- LSP textDocument/definition request support -->
<gotoDeclarationHandler
id="LSPGotoDeclarationHandler"
implementation="com.redhat.devtools.lsp4ij.features.navigation.LSPGotoDeclarationHandler"
order="first"/>
<!-- LSP textDocument/documentLink request support -->
<externalAnnotator
id="LSPDocumentLinkAnnotator"
language=""
implementationClass="com.redhat.devtools.lsp4ij.features.documentLink.LSPDocumentLinkAnnotator"/>
<gotoDeclarationHandler
id="LSPDocumentLinkGotoDeclarationHandler"
implementation="com.redhat.devtools.lsp4ij.features.documentLink.LSPDocumentLinkGotoDeclarationHandler"/>
<lang.documentationProvider
language=""
implementationClass="com.redhat.devtools.lsp4ij.features.documentLink.LSPDocumentLinkDocumentationProvider"/>
<!-- LSP textDocument/documentSymbol request support -->
<structureViewBuilder
id="LSPStructureViewBuilderProvider"
factoryClass="com.redhat.devtools.lsp4ij.features.documentSymbol.LSPStructureViewBuilderProvider"
order="last"/>
<lang.psiStructureViewFactory
id="LSPDocumentSymbolStructureViewFactoryForText"
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.documentSymbol.LSPDocumentSymbolStructureViewFactory"/>
<lang.psiStructureViewFactory
id="LSPDocumentSymbolStructureViewFactoryForTextMate"
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.documentSymbol.LSPDocumentSymbolStructureViewFactory"/>
<!-- Breadcrumbs/sticky lines support using document symbols -->
<breadcrumbsInfoProvider
id="LSPBreadcrumbsProvider"
implementation="com.redhat.devtools.lsp4ij.features.documentSymbol.LSPBreadcrumbsProvider"
order="last"/>
<postStartupActivity
id="LSPBreadcrumbsRefreshListener"
implementation="com.redhat.devtools.lsp4ij.features.documentSymbol.LSPBreadcrumbsRefreshListener"/>
<!-- LSP textDocument/documentHighlight request support -->
<highlightUsagesHandlerFactory
id="LSPHighlightUsagesHandlerFactory"
implementation="com.redhat.devtools.lsp4ij.features.highlight.LSPHighlightUsagesHandlerFactory"/>
<!-- A target element evaluator that returns a fake PSI element for the highlighted identifier at the caret -->
<targetElementEvaluator
language=""
implementationClass="com.redhat.devtools.lsp4ij.features.highlight.LSPTargetElementEvaluator"/>
<!-- LSP textDocument/codeLens request support -->
<codeInsight.codeVisionProviderFactory
id="DummyCodeVisionProviderFactory"
implementation="com.redhat.devtools.lsp4ij.features.codeLens.DummyCodeVisionProviderFactory"/>
<config.codeVisionGroupSettingProvider
id="LSPCodeLensSettingsProvider"
implementation="com.redhat.devtools.lsp4ij.features.codeLens.LSPCodeLensSettingsProvider"/>
<codeInsight.codeVisionProvider
id="LSPCodeLensProvider"
implementation="com.redhat.devtools.lsp4ij.features.codeLens.LSPCodeLensProvider"/>
<editorFactoryListener
id="LSPCodeLensEditorFactoryListener"
implementation="com.redhat.devtools.lsp4ij.features.codeLens.LSPCodeLensEditorFactoryListener"/>
<!-- LSP textDocument/inlayHint requests support -->
<codeInsight.declarativeInlayProviderFactory
id="LSPDeclarativeInlayHintProvidersFactory"
implementation="com.redhat.devtools.lsp4ij.features.inlayhint.LSPDeclarativeInlayHintProvidersFactory"/>
<codeInsight.inlayActionHandler
handlerId="LSP4IJ"
implementationClass="com.redhat.devtools.lsp4ij.features.inlayhint.LSPDeclarativeInlayActionHandler"/>
<!-- LSP textDocument/colorInformation requests support -->
<codeInsight.inlayProviderFactory
id="LSPInlayHintProvidersFactory"
implementation="com.redhat.devtools.lsp4ij.features.LSPInlayHintProvidersFactory"/>
<!-- LSP textDocument/hover request support -->
<platform.backend.documentation.targetProvider
id="LSPDocumentationTargetProvider"
implementation="com.redhat.devtools.lsp4ij.features.documentation.LSPDocumentationTargetProvider"
order="first"/>
<platform.backend.documentation.linkHandler
id="LSPDocumentationLinkHandler"
implementation="com.redhat.devtools.lsp4ij.features.documentation.LSPDocumentationLinkHandler"/>
<!-- LSP textDocument/folding -->
<lang.foldingBuilder id="LSPFoldingBuilderForText"
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.foldingRange.LSPFoldingRangeBuilder"
order="first"/>
<lang.foldingBuilder id="LSPFoldingBuilderForTextMate"
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.foldingRange.LSPFoldingRangeBuilder"
order="first"/>
<!-- Code block providers -->
<codeBlockProvider language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.codeBlockProvider.LSPCodeBlockProvider"
order="first"/>
<codeBlockProvider language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.codeBlockProvider.LSPCodeBlockProvider"
order="first"/>
<!-- LSP textDocument/signatureHelp -->
<codeInsight.parameterInfo
id="LSPParameterInfoHandlerForTEXT"
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.signatureHelp.LSPParameterInfoHandler"/>
<codeInsight.parameterInfo
id="LSPParameterInfoHandlerForTextMate"
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.signatureHelp.LSPParameterInfoHandler"/>
<!-- LSP textDocument/formatting + textDocument/rangeFormatting request support -->
<formattingService
id="LSPFormattingOnlyService"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPFormattingOnlyService"/>
<formattingService
id="LSPFormattingAndRangeBothService"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPFormattingAndRangeBothService"/>
<!-- These provide an improved editor experience in abstract file type and TextMate files -->
<typedHandler
id="LSPEditorImprovementsTypedHandler"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPEditorImprovementsTypedHandler"
order="first, before LSPCompletionTriggerTypedHandler, before LSPClientSideOnTypeFormattingTypedHandler, before LSPServerSideOnTypeFormattingTypedHandler"/>
<backspaceHandlerDelegate
id="LSPEditorImprovementsBackspaceHandler"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPEditorImprovementsBackspaceHandler"
order="first"/>
<typedHandler
id="LSPImprovedTextMateNestedBracesTypedHandler"
order="first, before LSPCompletionTriggerTypedHandler, before LSPClientSideOnTypeFormattingTypedHandler, before LSPServerSideOnTypeFormattingTypedHandler"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPImprovedTextMateNestedBracesTypedHandler"/>
<!-- Workaround for https://youtrack.jetbrains.com/issue/IJPL-159454 -->
<enterHandlerDelegate
id="LSPEditorImprovementsEnterBetweenBracesHandler"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPEditorImprovementsEnterBetweenBracesHandler"
order="first, before EnterBetweenBracesHandler, before LSPServerSideOnTypeFormattingEnterHandler"/>
<!-- LSP textDocument/onTypeFormatting support -->
<typedHandler
id="LSPServerSideOnTypeFormattingTypedHandler"
order="first"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPServerSideOnTypeFormattingTypedHandler"/>
<enterHandlerDelegate
id="LSPServerSideOnTypeFormattingEnterHandler"
order="first"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPServerSideOnTypeFormattingEnterHandler"/>
<!-- Client-side on-type formatting -->
<typedHandler
id="LSPClientSideOnTypeFormattingTypedHandler"
order="first, before LSPServerSideOnTypeFormattingTypedHandler"
implementation="com.redhat.devtools.lsp4ij.features.formatting.LSPClientSideOnTypeFormattingTypedHandler"/>
<!-- LSP textDocument/selectionRange request support -->
<extendWordSelectionHandler
id="LSPExtendWordSelectionHandler"
implementation="com.redhat.devtools.lsp4ij.features.selectionRange.LSPExtendWordSelectionHandler"
order="first"/>
<extendWordSelectionHandler
id="LSPCodeBlockExtendWordSelectionHandler"
implementation="com.redhat.devtools.lsp4ij.features.selectionRange.LSPCodeBlockExtendWordSelectionHandler"
order="first, before LSPExtendWordSelectionHandler"/>
<basicWordSelectionFilter
id="LSPWordSelectionFilter"
implementation="com.redhat.devtools.lsp4ij.features.selectionRange.LSPWordSelectionFilter"/>
<!-- LSP textDocument/semanticTokens request support -->
<highlightVisitor
id="LSPSemanticTokensHighlightVisitor"
implementation="com.redhat.devtools.lsp4ij.features.semanticTokens.LSPSemanticTokensHighlightVisitor"
order="first"/>
<colorSettingsPage
implementation="com.redhat.devtools.lsp4ij.features.semanticTokens.SemanticTokensColorSettingsPage"/>
<!-- File view provider based on textDocument/semanticTokens -->
<!-- We can register a view provider factory for TextMate files based on the language -->
<lang.fileViewProviderFactory
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokensStructurelessFileViewProviderFactory"/>
<lang.fileViewProviderFactory
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokensStructurelessFileViewProviderFactory"/>
<lang.elementManipulator
forClass="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokenPsiElement"
implementationClass="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokenPsiElementManipulator"/>
<lang.documentationProvider
language=""
implementationClass="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokenDocumentationProvider"/>
<!-- We cannot register one for plain text abstract file types, so we have to do that dynamically. Do so when a project is opened. -->
<postStartupActivity
implementation="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokensStructurelessFileViewProviderRegistrar$ProjectOpenedListener"/>
</extensions>
<applicationListeners>
<!-- Also do so when file type associations change -->
<listener
class="com.redhat.devtools.lsp4ij.features.semanticTokens.viewProvider.LSPSemanticTokensStructurelessFileViewProviderRegistrar$FileTypesChangedListener"
topic="com.intellij.openapi.fileTypes.FileTypeListener"/>
</applicationListeners>
<extensions defaultExtensionNs="com.intellij">
<!-- LSP textDocument/prepareTypeHierarchy request support -->
<typeHierarchyProvider
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.typeHierarchy.LSPTypeHierarchyProvider"/>
<typeHierarchyProvider
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.typeHierarchy.LSPTypeHierarchyProvider"/>
<!-- LSP textDocument/callHierarchy request support -->
<callHierarchyProvider
language="TEXT"
implementationClass="com.redhat.devtools.lsp4ij.features.callHierarchy.LSPCallHierarchyProvider"/>
<callHierarchyProvider
language="textmate"
implementationClass="com.redhat.devtools.lsp4ij.features.callHierarchy.LSPCallHierarchyProvider"/>
<!-- LSP Find Usages (LSP) support shows:
- textDocument/declaration
- textDocument/definition
- textDocument/typeDefinition
- textDocument/references
- textDocument/implementation
-->
<elementDescriptionProvider
implementation="com.redhat.devtools.lsp4ij.usages.LSPUsageElementDescriptionProvider"
order="last"/>
<customUsageSearcher
order="last"
implementation="com.redhat.devtools.lsp4ij.usages.LSPUsageSearcher"/>
<usageTargetProvider
order="last"
implementation="com.redhat.devtools.lsp4ij.usages.LSPUsageTargetProvider"/>
<findUsagesHandlerFactory
order="last, before default"
implementation="com.redhat.devtools.lsp4ij.usages.LSPFindUsagesHandlerFactory"/>
<usageTypeProvider
order="last"
implementation="com.redhat.devtools.lsp4ij.usages.LSPUsageTypeProvider"/>
<!-- LSP workspace/symbol request support -->
<gotoClassContributor id="LSPWorkspaceGotoClassContributor"
implementation="com.redhat.devtools.lsp4ij.features.workspaceSymbol.LSPWorkspaceGotoClassContributor"/>
<gotoSymbolContributor id="LSPWorkspaceGotoSymbolContributor"
implementation="com.redhat.devtools.lsp4ij.features.workspaceSymbol.LSPWorkspaceGotoSymbolContributor"/>
<!-- LSP textDocument/implementation support -->
<definitionsScopedSearch
implementation="com.redhat.devtools.lsp4ij.features.workspaceSymbol.LSPWorkspaceImplementationsSearch"/>
<!-- LSP textDocument/typeDefinition support -->
<typeDeclarationProvider
implementation="com.redhat.devtools.lsp4ij.features.workspaceSymbol.LSPWorkspaceTypeDeclarationProvider"
order="last"/>
<!-- LSP textDocument/rename request support -->
<renameHandler
id="LSPRenameHandler"
implementation="com.redhat.devtools.lsp4ij.features.rename.LSPRenameHandler"
order="first"/>
<!-- Code Action support-->
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction0</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction1</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction2</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction3</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction4</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction5</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction6</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction7</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction8</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction9</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction10</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction11</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction12</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction13</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction14</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction15</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction16</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction17</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction18</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<intentionAction>
<bundleName>messages.LanguageServerBundle</bundleName>
<className>com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction19</className>
<categoryKey>lsp.intention.group.name</categoryKey>
<language/>
</intentionAction>
<notificationGroup
id="LSP/window/showMessage"
displayType="BALLOON"/>
<notificationGroup
id="LSP/window/showMessageRequest"
displayType="STICKY_BALLOON"/>
<notificationGroup
id="LSP4IJ general notifications"
displayType="BALLOON"/>
</extensions>
<!-- Actions to execute LSP features Find Implementation, etc -->
<actions>
<action id="LSP.GotoDeclaration"
class="com.redhat.devtools.lsp4ij.features.declaration.LSPGoToDeclarationAction"
text="LSP Declaration(s)"
description="Find all declarations of the element at cursor if any.">
<keyboard-shortcut first-keystroke="control alt Z" keymap="$default"/>
</action>
<action id="LSP.GotoTypeDefinition"
class="com.redhat.devtools.lsp4ij.features.typeDefinition.LSPGoToTypeDefinitionAction"
text="LSP Type Definition(s)"
description="Find all type definitions of the element at cursor if any.">
<keyboard-shortcut first-keystroke="control alt E" keymap="$default"/>
</action>
<action id="LSP.GotoImplementation"
class="com.redhat.devtools.lsp4ij.features.implementation.LSPGoToImplementationAction"
text="LSP Implementation(s)"
description="Find all implementations of the element at cursor if any.">
<keyboard-shortcut first-keystroke="control alt G" keymap="$default"/>
</action>
<action id="LSP.GotoReference"
class="com.redhat.devtools.lsp4ij.features.references.LSPGoToReferenceAction"
text="LSP Reference(s)"
description="Find all references of the element at cursor if any.">
<keyboard-shortcut first-keystroke="control alt H" keymap="$default"/>
</action>
<group>
<add-to-group group-id="EditorPopupMenu.GoTo" anchor="first"/>
<add-to-group group-id="GoToMenu" anchor="before" relative-to-action="GotoDeclaration"/>
<reference ref="LSP.GotoImplementation"/>
<reference ref="LSP.GotoReference"/>
<reference ref="LSP.GotoDeclaration"/>
<reference ref="LSP.GotoTypeDefinition"/>
<separator/>
</group>
</actions>
<!-- Common LSP Client actions -->
<actions>
<!-- Reuse VS Code action ids while waiting for standardization of LSP commands https://github.com/microsoft/language-server-protocol/issues/788 -->
<action id="editor.action.triggerSuggest"
class="com.redhat.devtools.lsp4ij.commands.editor.TriggerSuggestAction"/>
<action id="editor.action.showReferences"
class="com.redhat.devtools.lsp4ij.commands.editor.ShowReferencesAction"/>
<action id="editor.action.triggerParameterHints"
class="com.redhat.devtools.lsp4ij.commands.editor.TriggerParameterHintsAction"/>
</actions>
<!-- LSP consoles -->
<extensions defaultExtensionNs="com.intellij">
<projectConfigurable
groupId="language"
id="LanguageServers"
bundle="messages.LanguageServerBundle"
nonDefaultProject="true"
key="language.servers"
instance="com.redhat.devtools.lsp4ij.settings.LanguageServerListConfigurable"/>
<projectService
id="com.redhat.devtools.lsp4ij.settings.ProjectLanguageServerSettings"
serviceImplementation="com.redhat.devtools.lsp4ij.settings.ProjectLanguageServerSettings"/>
<applicationService
id="com.redhat.devtools.lsp4ij.settings.GlobalLanguageServerSettings"
serviceImplementation="com.redhat.devtools.lsp4ij.settings.GlobalLanguageServerSettings"/>
<toolWindow
id="Language Servers"
anchor="bottom"
factoryClass="com.redhat.devtools.lsp4ij.console.LSPConsoleToolWindowFactory"
canCloseContents="false"
icon="AllIcons.Webreferences.Server"/>
</extensions>
<!-- Semantic Tokens -->
<extensions defaultExtensionNs="com.intellij">
<!-- Semantic Tokens Inspector -->
<projectService
id="com.redhat.devtools.lsp4ij.features.semanticTokens.inspector.SemanticTokensInspectorManager"
serviceImplementation="com.redhat.devtools.lsp4ij.features.semanticTokens.inspector.SemanticTokensInspectorManager"/>
<toolWindow
id="Semantic Tokens Inspector"
anchor="bottom"
factoryClass="com.redhat.devtools.lsp4ij.features.semanticTokens.inspector.SemanticTokensInspectorToolWindowFactory"
canCloseContents="false"
doNotActivateOnStart="true"
icon="AllIcons.General.InspectionsEye"/>
<!-- Color Schemes -->
<additionalTextAttributes
scheme="Dark"
file="colorSchemes/SemanticTokensDark.xml"/>
<additionalTextAttributes
scheme="High contrast"
file="colorSchemes/SemanticTokensHighContrast.xml"/>
<additionalTextAttributes
scheme="IntelliJ Light"
file="colorSchemes/SemanticTokensIntelliJLight.xml"/>
<additionalTextAttributes
scheme="Light"
file="colorSchemes/SemanticTokensLight.xml"/>
</extensions>
<!-- Actions for Language Servers view -->
<actions resource-bundle="messages.LanguageServerBundle">
<action
id="lsp.console.explorer.restart"
class="com.redhat.devtools.lsp4ij.console.explorer.actions.RestartServerAction"
icon="AllIcons.Actions.Restart"/>
<action
id="lsp.console.explorer.stop"
class="com.redhat.devtools.lsp4ij.console.explorer.actions.StopServerAction"
icon="AllIcons.Actions.Suspend"/>
<action
id="lsp.console.explorer.pause"
class="com.redhat.devtools.lsp4ij.console.explorer.actions.PauseServerAction"
icon="AllIcons.Actions.Pause"/>
<action
id="lsp.console.explorer.copy.command"
class="com.redhat.devtools.lsp4ij.console.explorer.actions.CopyStartServerCommandAction"
icon="AllIcons.Actions.Copy"/>
</actions>
<!-- Actions for Semantic Tokens Inspector view -->
<actions>
<action id="ActivateSemanticTokensInspectorToolWindow"
class="com.redhat.devtools.lsp4ij.features.semanticTokens.inspector.ActivateSemanticTokensInspectorToolWindowAction"
icon="AllIcons.General.InspectionsEye">
<add-to-group group-id="ActivateToolWindowActions"/>
</action>
</actions>
<!-- LSP link handlers -->
<extensions defaultExtensionNs="com.intellij">
<codeInsight.linkHandler prefix="#lsp-navigation/"
handlerClass="com.redhat.devtools.lsp4ij.hint.LSPNavigationLinkHandler"/>
</extensions>
<!-- LSP application listeners -->
<applicationListeners>
<listener
topic="com.intellij.openapi.project.ProjectManagerListener"
class="com.redhat.devtools.lsp4ij.ConnectDocumentToLanguageServerSetupParticipant"/>
<listener topic="com.intellij.ide.AppLifecycleListener"
class="com.redhat.devtools.lsp4ij.client.indexing.ProjectIndexingAppLifecycleListener"/>
</applicationListeners>
<projectListeners>
<listener topic="com.intellij.codeInsight.lookup.LookupManagerListener"
class="com.redhat.devtools.lsp4ij.features.completion.LSPCompletionContributor$LSPLookupManagerListener"/>
<listener class="com.redhat.devtools.lsp4ij.client.indexing.ProjectIndexingOnlyDumbStrategy"
topic="com.intellij.openapi.project.DumbService$DumbModeListener"/>
</projectListeners>
<!-- DAP Support -->
<extensionPoints>
<!-- Debug adapter server extension point -->
<extensionPoint
name="debugAdapterServer"
beanClass="com.redhat.devtools.lsp4ij.dap.definitions.extension.DebugAdapterServerExtensionPointBean">
<with attribute="factoryClass"
implements="com.redhat.devtools.lsp4ij.dap.descriptors.DebugAdapterDescriptorFactory"/>
</extensionPoint>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<applicationService