github / github/vscode-github-actions

No syntax highlighting or autocomplete in action

未关闭
#406 3 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
660
派生
213
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
When defining an action `.github/actions/[action-name]/action.yml`, there is no syntax highlighting for using variables and there's also no "help" from autocomplete for inputs, etc. like there is in a normal workflow.

**To Reproduce**
Steps to reproduce the behavior:
1. Create an action
2. Write some inputs
3. Use said inputs in steps
4. See error

**Expected behavior**
Proper syntax highlighting and autocomplete.

**Screenshots**
![image](https://github.com/user-attachments/assets/976a0690-89b3-438c-bc89-8b793b17aeb8)

**Extension Version**
`v0.27.0`

**Additional context**
Add any other context about the problem here.

贡献指南

打开贡献指南

调研方向

Reproduce the issue in `.github/actions/[action-name]/action.yml` using the listed steps, then inspect how the extension provides syntax highlighting and autocomplete for normal workflows versus action definitions. Done means variables and action inputs receive equivalent highlighting and autocomplete support in action files; verify this with the reproduction steps and an appropriate extension test if available.

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, typescript, vscode
领域
ci-cd, devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。