redhat-developer / redhat-developer/vscode-xml

xml.fileAssociations ${workspaceFolder} not working in pattern

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

In xml.fileAssociations int the pattern, the ${workspaceFolder} not working.
settings.json:
Image

When i remove the workspaceFolder befor the file name in the pattern, then it works but for all the files with the same same name, and i only want one specific file. So i put that workspaceFolder there but it's not doing anything.

Extension version:

0.27.2

Specs:

Version: 1.96.0 (user setup)
Commit: 138f619c86f1199955d53b4166bef66ef252935c
Date: 2024-12-11T02:29:09.626Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22621

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

Reproduce the report from the settings.json example using the xml.fileAssociations pattern and ${workspaceFolder} on Windows. Trace how the extension reads and matches that setting, then verify that workspace-relative patterns select only the intended file and add regression coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.