Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML syntax highlighting fails on empty blocks #33

Open
Tracked by #1
alexr00 opened this issue Mar 18, 2020 · 0 comments
Open
Tracked by #1

YAML syntax highlighting fails on empty blocks #33

alexr00 opened this issue Mar 18, 2020 · 0 comments

Comments

@alexr00
Copy link

alexr00 commented Mar 18, 2020

From @TJM in microsoft/vscode#92885

  • VSCode Version:1.43.0
    78a4c91400152c0f27ba4d363eb56d2835f9903a
    x64
  • OS Version: OSX 10.14.6

Steps to Reproduce:

  1. Open a yaml file that has empty blocks with content below, such as https://github.com/jfrog/charts/blob/master/stable/artifactory-ha/values.yaml
  2. Scroll down to line 233 - the color should be "green" (comment color) not "orange" (string color)... the highlighting is messed up until line 1078, then quickly goes astray again. In order to be considered part of the block, it should be indented, the next non-indented line ends the block. So, the first comment line that is not indented means the value is empty

Does this issue occur when all extensions are disabled?: Yes

Screen Shot 2020-03-17 at 4 51 42 PM

See Also: jfrog/charts#687

REF: https://yaml-multiline.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant