Skip to content

Commit

Permalink
feat: remove LSP codeLens/inlahint declaration by using inlay hint
Browse files Browse the repository at this point in the history
factory

Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr authored and fbricon committed Dec 14, 2023
1 parent 9c783b5 commit 867c05f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
5 changes: 1 addition & 4 deletions src/main/resources/META-INF/lsp4ij-quarkus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@
<!-- Quarkus -->
<lang.documentationProvider id="LSPTextHoverProperties" language="Properties" implementationClass="com.redhat.devtools.lsp4ij.operations.documentation.LSPDocumentationProvider" order="first"/>
<lang.documentationProvider id="LSPTextHoverJAVA" language="JAVA" implementationClass="com.redhat.devtools.lsp4ij.operations.documentation.LSPDocumentationProvider" order="first"/>
<codeInsight.inlayProvider language="JAVA" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="Properties"
implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>


<localInspection
language="Properties"
bundle="messages.MicroProfileBundle"
Expand Down
10 changes: 0 additions & 10 deletions src/main/resources/META-INF/lsp4ij-qute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@
<lang.documentationProvider id="LSPTextHoverYAML" language="yaml" implementationClass="com.redhat.devtools.lsp4ij.operations.documentation.LSPDocumentationProvider" order="first"/>
<lang.documentationProvider id="LSPTextHoverJSON" language="JSON" implementationClass="com.redhat.devtools.lsp4ij.operations.documentation.LSPDocumentationProvider" order="first"/>
<lang.documentationProvider id="LSPTextHoverTEXT" language="TEXT" implementationClass="com.redhat.devtools.lsp4ij.operations.documentation.LSPDocumentationProvider" order="first"/>
<codeInsight.inlayProvider language="Qute_" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="Qute_" implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>
<codeInsight.inlayProvider language="HTML" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="HTML" implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>
<codeInsight.inlayProvider language="yaml" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="yaml" implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>
<codeInsight.inlayProvider language="JSON" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="JSON" implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>
<codeInsight.inlayProvider language="TEXT" implementationClass="com.redhat.devtools.lsp4ij.operations.codelens.LSPCodelensInlayProvider"/>
<codeInsight.inlayProvider language="TEXT" implementationClass="com.redhat.devtools.lsp4ij.operations.inlayhint.LSPInlayHintInlayProvider"/>

<completion.confidence language="HTML" order="before htmlText" implementationClass="com.redhat.devtools.lsp4ij.operations.completion.LSPCompletionConfidence" />

Expand Down

0 comments on commit 867c05f

Please sign in to comment.