Skip to content

YAML auto-format defaults to double quotes, with no option to choose single quotes #287

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

Open
jlucktay opened this issue Jan 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jlucktay
Copy link

jlucktay commented Jan 5, 2024

Is your feature request related to a problem? Please describe.
When I'm editing an Actions YAML file, the auto-format is triggered every time I save.
The auto-format executed by this GitHub Actions extension switches the single-quoted strings in my Actions YAML to double-quoted.
It's frustrating to have to undo these quoting changes elsewhere, usually when staging/committing changes in version control.

Describe the solution you'd like
Other VSCode extensions offer a simple boolean checkbox option for single/double quoting style.

Additional context
image

@laughedelic
Copy link

It would be also great to have an option to keep whatever quotes are already used in the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗒
Development

No branches or pull requests

2 participants