redhat-developer / redhat-developer/vscode-yaml

Allow restricting to 1.2 version specification

Open
#162 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

I would like to only use the 1.2 YAML specification. Specifically the narrowed specification of boolean values. Eg y, and n are no longer considered booleans. I would like to specify this in the extension settings.

Concrete example:

Vec3:
  x: 1
  y: 2
  z: 3

the y is highlighted differently in VS Code

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 names no files or tests. Start by tracing the extension settings and the YAML boolean-token highlighting path; done means a setting can select YAML 1.2 semantics so y and n are not highlighted as booleans, with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode, yaml
Domain
developer-experience, 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.