blob: dd1417acb0c7a6e322ad94f7cf941bac01573300 (
plain) (
blame)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
file-extensions="cpp,c,h,cxx,cc,hxx,hpp"
id="org.eclipse.lsp4e.languages.cpp"
name="%content-type.name"
priority="normal">
</content-type>
</extension>
<extension
point="org.eclipse.lsp4e.languageServer">
<server
class="org.eclipse.lsp4e.cpp.language.CPPLanguageServer"
id="org.eclipse.lsp4e.languages.cpp"
label="%server.label">
</server>
<contentTypeMapping
contentType="org.eclipse.lsp4e.languages.cpp"
id="org.eclipse.lsp4e.languages.cpp">
</contentTypeMapping>
</extension>
<extension
point="org.eclipse.ui.editors">
<editorContentTypeBinding
contentTypeId="org.eclipse.lsp4e.languages.cpp"
editorId="org.eclipse.ui.genericeditor.GenericEditor">
</editorContentTypeBinding>
</extension>
<extension
point="org.eclipse.ui.genericeditor.presentationReconcilers">
<presentationReconciler
class="org.eclipse.lsp4e.cpp.language.PresentationReconcilerCPP"
contentType="org.eclipse.lsp4e.languages.cpp">
</presentationReconciler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="org.eclipse.lsp4e.cpp.language.commands.reindex"
name="%reindex.command.name">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.lsp4e.cpp.language.ReindexHandler"
commandId="org.eclipse.lsp4e.cpp.language.commands.reindex">
<activeWhen>
<with
variable="selection">
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<test
forcePluginActivation="true"
property="org.eclipse.lsp4e.cpp.language.hasServer"
value="org.eclipse.lsp4e.languages.cpp">
</test>
</iterate>
</with>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command
commandId="org.eclipse.lsp4e.cpp.language.commands.reindex"
label="%reindex.command.label"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.lsp4e.cpp.language.LanguageServerPropertyTester"
id="org.eclipse.lsp4e.cpp.language.propertyTester"
namespace="org.eclipse.lsp4e.cpp.language"
properties="hasServer"
type="java.lang.Object">
</propertyTester>
</extension>
</plugin>
|