Start LS for docs created with appropriate content-type
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
point="org.eclipse.core.contenttype.contentTypes">
|
||||
|
||||
<content-type
|
||||
base-type="org.eclipse.jdt.core.javaProperties"
|
||||
default-charset="ISO-8859-1"
|
||||
id="org.springframework.boot.ide.properties.application.properties"
|
||||
name="Spring Properties File"
|
||||
@@ -46,6 +47,7 @@
|
||||
</content-type>
|
||||
|
||||
<content-type
|
||||
base-type="org.eclipse.core.runtime.text"
|
||||
default-charset="UTF-8"
|
||||
id="org.springframework.boot.ide.properties.application.yml"
|
||||
name="Spring Yaml Properties File"
|
||||
@@ -310,4 +312,26 @@
|
||||
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.core.filebuffers.documentSetup">
|
||||
<participant
|
||||
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
|
||||
contentTypeId="org.springframework.boot.ide.properties.application.properties">
|
||||
</participant>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.core.filebuffers.documentSetup">
|
||||
<participant
|
||||
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
|
||||
contentTypeId="org.springframework.boot.ide.properties.application.yml">
|
||||
</participant>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.core.filebuffers.documentSetup">
|
||||
<participant
|
||||
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
|
||||
contentTypeId="org.springframework.boot.ide.xmlconfig">
|
||||
</participant>
|
||||
</extension>
|
||||
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user