redhat-developer / redhat-developer/vscode-xml

Support absolute paths in XML Associations

Open
#1,056 0 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

Our Use Case is to map different files opened in VS-Code to correspondig schemas. See this issue. We therefore use the API of your XML extension.

At the moment we use the filename to indentify a opened file (we use the filename in the pattern field). However, it is possible that the user opens two files with same filename, but different paths.

Is it possible to use absolute paths in the pattern field?

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 by reading the referenced issue 1053 and the XML association API documentation, focusing on how the pattern field currently identifies opened files. Define how absolute paths should be matched when filenames collide, then verify the behavior through the extension's existing association handling and tests, if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.