Skip to content

Commit 644f886

Browse files
committed
Support Camel-K Kotlin files camel-tooling/camel-language-server#255
Signed-off-by: Aurélien Pupier <[email protected]>
1 parent 175ad82 commit 644f886

File tree

1 file changed

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

1 file changed

+17
-0
lines changed

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

+17
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@
4343
id="Camel LSP Server for Camel Kafka Connect"
4444
label="Camel LSP Server for Camel Kafka Connect">
4545
</server>
46+
<server
47+
class="com.github.cameltooling.eclipse.client.CamelLSPStreamConnectionProvider"
48+
id="Camel LSP Server for Camel K Kotlin"
49+
label="Camel LSP Server for Camel K Kotlin">
50+
</server>
51+
<contentTypeMapping
52+
contentType="com.github.cameltooling.eclipse.camelk.kotlin"
53+
id="Camel LSP Server for Camel K Kotlin"
54+
languageId="LANGUAGE_ID_APACHE_CAMEL">
55+
</contentTypeMapping>
4656
</extension>
4757
<extension
4858
point="org.eclipse.wst.sse.ui.completionProposal">
@@ -78,6 +88,13 @@
7888
name="Camel-K Groovy content type"
7989
priority="normal">
8090
</content-type>
91+
<content-type
92+
base-type="org.eclipse.core.runtime.text"
93+
file-extensions="kts"
94+
id="com.github.cameltooling.eclipse.camelk.kotlin"
95+
name="Camel-K Kotlin content type"
96+
priority="normal">
97+
</content-type>
8198
</extension>
8299

83100
</plugin>

0 commit comments

Comments
 (0)