redhat-developer / redhat-developer/vscode-xml

FR: for new commands "validate all XML in workspace/folder"

Open
#535 2 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

Scenario 1: the application in the workspace creates a bunch of XML files.
--> it would be nice to be able to validate all "on the fly" and have the problem pane updated with the results

Scenario 2: a new version of the xsd is distributed, all files have to be validated to check for necessary adjustments.

Current workaround:

  • use the file explorer (or [CTRL]+[O]) to open all files within vscode
  • issue xml.validation.all.files (validate all opened XML files)
  • close all the files that are fine by hand, which can take a while

Suggestion:

  • xml.validation.workspace.files -> would validate all files found in the workspace
  • xml.validation.folder.files -> would ask for a folder and validate all files found in there (could be in the workspace or out of it)

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 tracing the existing xml.validation.all.files command and its validation results. Define how workspace-wide and folder-selected XML files are discovered and validated, then verify that diagnostics update the problem pane and that both proposed commands handle files outside the workspace when a folder is chosen.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.