-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide pluginNamespace.properties and lsp4ij.xml for use by lsp4ij d…
…ependency. Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
- Loading branch information
1 parent
f1501f7
commit cf80996
Showing
5 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<idea-plugin> | ||
|
||
<!-- Adapted from https://github.com/redhat-developer/intellij-quarkus/blob/2585eb422beeb69631076d2c39196d6eca2f5f2e/src/main/resources/META-INF/lsp.xml --> | ||
<extensionPoints> | ||
<extensionPoint name="server" | ||
beanClass="org.microshed.lsp4ij.ServerExtensionPointBean"/> | ||
<extensionPoint name="languageMapping" | ||
beanClass="org.microshed.lsp4ij.LanguageMappingExtensionPointBean"/> | ||
</extensionPoints> | ||
<extensions defaultExtensionNs="com.intellij"> | ||
<!-- Completion support for all language servers --> | ||
<completion.contributor id="LSPCompletionContributor" language="any" | ||
implementationClass="org.microshed.lsp4ij.operations.completion.LSContentAssistProcessor" | ||
order="first"/> | ||
|
||
<!-- Diagnostic support for all language servers --> | ||
<inspectionToolProvider | ||
implementation="org.microshed.lsp4ij.operations.diagnostics.LSPInspectionToolProvider"/> | ||
<projectService serviceImplementation="org.microshed.lsp4ij.LanguageServiceAccessor"/> | ||
<!-- TODO re-enable goto handler --> | ||
<!-- <gotoDeclarationHandler | ||
implementation="org.microshed.lsp4ij.operations.navigation.LSPGotoDeclarationHandler"/> --> | ||
|
||
<!-- Hover for LemMinX + Liberty LemMinX ext --> | ||
<lang.documentationProvider id="LSPTextHoverXML" language="XML" | ||
implementationClass="org.microshed.lsp4ij.operations.hover.LSPTextHover" | ||
order="first"/> | ||
<!-- Hover for Liberty Config LS bootstrap.properties and LSP4MP microprofile-config.properties --> | ||
<lang.documentationProvider id="LSPTextHoverProperties" language="Properties" | ||
implementationClass="org.microshed.lsp4ij.operations.hover.LSPTextHover" | ||
order="first"/> | ||
<!-- Hover for Java files, LSP4MP and LSP4Jakarta --> | ||
<lang.documentationProvider id="LSPTextHoverJAVA" language="JAVA" | ||
implementationClass="org.microshed.lsp4ij.operations.hover.LSPTextHover" | ||
order="first"/> | ||
<codeInsight.inlayProvider language="JAVA" | ||
implementationClass="org.microshed.lsp4ij.operations.codelens.LSPInlayProvider"/> | ||
<externalAnnotator language="XML" implementationClass="org.microshed.lsp4ij.operations.diagnostics.LSPDiagnosticAnnotator"/> | ||
<externalAnnotator language="TEXT" implementationClass="org.microshed.lsp4ij.operations.diagnostics.LSPDiagnosticAnnotator"/> | ||
<externalAnnotator language="Properties" implementationClass="org.microshed.lsp4ij.operations.diagnostics.LSPDiagnosticAnnotator"/> | ||
<externalAnnotator language="JAVA" implementationClass="org.microshed.lsp4ij.operations.diagnostics.LSPDiagnosticAnnotator"/> | ||
</extensions> | ||
|
||
<project-components> | ||
<component> | ||
<implementation-class>org.microshed.lsp4ij.ConnectDocumentToLanguageServerSetupParticipant</implementation-class> | ||
</component> | ||
</project-components> | ||
</idea-plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pluginNamespace=open-liberty.intellij |