Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

GitHub Workflow file does not support YAML formatter.

未關閉
#491 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
github-actions, typescript, vscode, yaml
領域
ci-cd, tooling

研究方向

在 VS Code 1.102.0 和擴充功能版本 0.27.2 中,透過開啟 GitHub Workflow 檔案並檢查內容功能表來重現問題。檢視擴充功能如何識別 Workflow 檔案,並驗證已安裝的 YAML formatter 是否可透過 Format Document 使用;當這些檔案顯示該命令時,即表示完成。

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

描述

bug

Describe the bug
GitHub Workflow file does not support YAML formatter.

To Reproduce
Steps to reproduce the behavior:

  1. Open a Workflow file.
  2. Right click for the context menu
  3. No "Format Document" available

Expected behavior
The plugin let VS Code know that Workflow file is in fact yaml and installed formatter can be used.

Screenshots

Image

Extension Version
0.27.2

Additional context

VS Code:

Version: 1.102.0
Commit: cb0c47c0cfaad0757385834bd89d410c78a856c0
Date: 2025-07-09T22:10:34.600Z (6 days ago)
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.5.0

主要語言
TypeScript
星號
661
分支
214
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/vscode-github-actions 的其他 Issue

查看 github/vscode-github-actions 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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