redhat-developer / redhat-developer/vscode-xml
Feature request: Support xpath evaluation on xml documents
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 328
- Forks
- 101
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Description
On xml file, give option "XML: Evaluate xpath" in command palette to evaluate xpath expression on currently open xml document.
I tried following extensions but they are not working for me.
- XML tools (not actively maintained)
https://marketplace.visualstudio.com/items?itemName=DotJoshJohnson.xml - Xpath tester ( does not seem to work with xml files containing namespace )
https://marketplace.visualstudio.com/items?itemName=creinbacher.xpathtester
It will be great if it works like below extension which is there for Visual Studio IDE (another microsoft IDE)
https://marketplace.visualstudio.com/items?itemName=UliWeltersbach.XPathInformation

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the extension registers actions in the command palette and how it accesses the currently open XML document. Define the XPath evaluation flow and its expected behavior, including the namespace case raised in the issue; done means an XML document offers the command and evaluates the entered expression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100