redhat-developer / redhat-developer/vscode-xml

Remove the scheme restriction in xmlClient.ts

Open
#553 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

when I develop Language Server for Embedded Language with Request Forwarding , I want reuse the ablity of vscode-xml for the xml part doing the completion , diagnosis etc.
in order to do that I need remove the scheme restriction in xmlClient.ts for embedded-content

documentSelector: [
      {language: 'xml' },
      { language: 'xsl' }
    ],

like that

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/client/xmlClient.ts around line 112 and inspect how the documentSelector handles embedded-content. Update the selector to allow the embedded-content scheme as requested, then verify that XML and XSL documents still receive completion and diagnostic support without the restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.