Skip to content

Test: htmlLanguageParticipants contribution point #156200

@aeschli

Description

@aeschli

Refs: #146730

Complexity: 3

Create Issue


The html language support now supports a new contribution point that allows other languages to participate in the html language server features.

   "htmlLanguageParticipants": [
      {
        "languageId": "handlebars"
      }
    ]

In the samp,e above, the handlebars language registers to get all HTML features.

  • Test that a handlebars file gets code completion, hovers...

  • Set "html.trace.server": "messages" in the settings

  • Disable the handlebar basic extension (Handlebars Language Basics), find it with @builtin handlebar

  • Test that a handlebars file no longer get code completion, hovers.

  • Verify that the HTML Language Server output view contains the log entry Extensions have changed, restarting HTML server...

  • Open vscode repo and open the package.json from the handlebars extension

  • Verify that you get hovers and code completions for the htmlLanguageParticipants contribution point

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions