redhat-developer / redhat-developer/vscode-yaml

Can not fold YAML map comment

Open
#763 4 comments 1 reaction 1 assignee View on GitHub

@evidolob is already working on this.

Since Jun 30, 2022.

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

Description

Describe the bug

When I try to fold a map with a comment in the YAML extension enabled, I get the problem that I can't fold it.

Expected Behavior

This is an unfolded text example.
good_unfold

This is a text that is folded above example.
good_fold

Current Behavior

This is an unfolded text example.
bad_unfold

This is a text that is folded above example.
bad_fold

Steps to Reproduce

  1. open a YAML file

Environment

  • Windows, Mac
  • YAML 1.7.0

Related Issue

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.