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

Weird yaml formatting #1070

Open
1 of 4 tasks
eugene-marchanka opened this issue Nov 18, 2024 · 0 comments
Open
1 of 4 tasks

Weird yaml formatting #1070

eugene-marchanka opened this issue Nov 18, 2024 · 0 comments

Comments

@eugene-marchanka
Copy link

eugene-marchanka commented Nov 18, 2024

Describe the bug

This yaml formatter does weird formatting replacement when working with CRDs.

Image

Expected Behavior

autoformat does not replace valid characters with ? and :

Current Behavior

autoformat replaces some characters with ? and :

Steps to Reproduce

  1. Create .yaml file from .txt example manifest provided. (Can not attach .yaml/.yml files to the issue)
  2. Make sure you use redhat.vscode-yaml in your settings.json
    "[yaml]": {
        "editor.defaultFormatter": "redhat.vscode-yaml",
  1. Hit save and see what happens

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)
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