Skip to content

Associate validation, completion, etc with any language #26

Closed

Description

@angelozerr

Today the Intellij Plugin which want to support validation,hover, etc for a given language need to declare in the plugin.xml

Here a sample with Ij Quarkus and Qute_ language to display error for Qute:

<externalAnnotator language="Qute_"
                       implementationClass="com.redhat.devtools.lsp4ij.operations.diagnostics.LSPDiagnosticAnnotator"/>

It should be nice to avoid writting that:

  • it is boring
  • it can be dangerous, because if an Intellij Plugin defines externalAnnotator for Java language and an another Intellij Plugin defines the same externalAnnotator for language Java, validation will be duplicated.
  • it is required to support Add a language server without extension point #25

The only thing that we loose with this strategy is to control the order (before htmlText) of the completion that we use in IJ Quarkus:

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

Activity

  1. added
    enhancement
    on Dec 4, 2023
  2. changed the title [-]Associate validation, inlayHint, hover, etc with any language[/-] [+]Associate validation, completion, etc with any language[/+] on Dec 6, 2023
  3. added 2 commits that reference this issue on Dec 6, 2023
    42ba4ec
    20cccd6
  4. added this to the 0.0.1 milestone on Dec 6, 2023
  5. added a commit that references this issue on Dec 6, 2023
    bfc2aa2
  6. moved this to ✅ Done in IDE Cloudaptorson Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions