Skip to content

Commit 9f09623

Browse files
committed
Support completion for Camel-K Groovy
camel-tooling/camel-language-server#163 Signed-off-by: Aurélien Pupier <[email protected]>
1 parent db1f0fa commit 9f09623

File tree

1 file changed

+20
-0
lines changed
  • com.github.camel-tooling.lsp.eclipse.client

1 file changed

+20
-0
lines changed

com.github.camel-tooling.lsp.eclipse.client/plugin.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
id="Camel LSP Server for XML"
2424
label="Camel LSP Server for XML">
2525
</server>
26+
<contentTypeMapping
27+
contentType="com.github.cameltooling.eclipse.camelk.groovy"
28+
id="Camel LSP Server for Camel K groovy"
29+
languageId="LANGUAGE_ID_APACHE_CAMEL">
30+
</contentTypeMapping>
31+
<server
32+
class="com.github.cameltooling.eclipse.client.CamelLSPStreamConnectionProvider"
33+
id="Camel LSP Server for Camel K groovy"
34+
label="Camel LSP Server for Camel K groovy">
35+
</server>
2636
</extension>
2737
<extension
2838
point="org.eclipse.wst.sse.ui.completionProposal">
@@ -49,5 +59,15 @@
4959
needsSortingAfterFiltering="false">
5060
</javaCompletionProposalComputer>
5161
</extension>
62+
<extension
63+
point="org.eclipse.core.contenttype.contentTypes">
64+
<content-type
65+
base-type="org.eclipse.core.runtime.text"
66+
file-extensions="groovy"
67+
id="com.github.cameltooling.eclipse.camelk.groovy"
68+
name="Camel-K Groovy content type"
69+
priority="normal">
70+
</content-type>
71+
</extension>
5272

5373
</plugin>

0 commit comments

Comments
 (0)