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 摘要。