microsoft / microsoft/vscode-custom-data

Regression of white-space values: getValuesFromSyntax no longer handles white-space's syntax

Open
#94 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
240
Forks
95
PR merge metrics
No merged PRs in 30d

Description

Regression of #55.

https://github.com/microsoft/vscode-custom-data/pull/56/files#diff-f0bbe48b1fb24ff03380a7b65cd9212a4e93584c37867b3201809db34b1fb40bR122 no longer works because the syntax for white-space is now normal | pre | nowrap | pre-wrap | pre-line | break-spaces | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ] (|| causes it to not match I think).

See also https://stackoverflow.com/q/78499046/11107541

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 getValuesFromSyntax and the referenced changes in pull request #56, then compare its handling with the current white-space syntax in the issue. The work is done when the syntax containing || is recognized correctly without regressing the existing white-space values.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.