github / github/vscode-github-actions

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

未關閉
#287 2 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

**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

貢獻指南

開啟貢獻指南

研究方向

Start by locating the YAML auto-format implementation and its VS Code settings. Confirm how formatting is triggered on save, then define completion around a user-selectable single- or double-quote style that avoids unrelated quote changes.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, typescript, vscode
領域
tooling
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。