github / vscode-github-actions

GitHub Actions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions
MIT License
476 stars 72 forks source link

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

Open jlucktay opened 6 months ago

jlucktay commented 6 months ago

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 commented 4 months ago

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