microsoft / microsoft/vscode-css

Convert CSON syntax file to JSON

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27
Forks
25
Avg merge
3d 19h
Merged PRs (30d)
2

Description

The original source file is written in CSON, which is difficult to read and the tools needed to maintain it are relatively out of date or obsolete. Additionally, some of the features used in the CSON formatting, like comments in multi-line regex matches, cause the converted formatting to be difficult to parse (and I'm not 100% sure the end result is valid - it probably is, but debugging is made worse by it).

The syntax definitions should be converted from CSON to JSON (and maybe YAML in the future, as suggested by the docs).

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

The issue does not name a source file or test; start by locating the CSON syntax definition in this repository and reviewing the linked VS Code syntax-highlight guidance. Convert the definition to JSON, then verify that the result parses and preserves the existing syntax definitions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.