github / github/vscode-github-actions

No syntax highlight in workflow files

Open
#373 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I have the following VS Code configuration:

```json
"[github-actions-workflow]": {
"editor.defaultFormatter": "github.vscode-github-actions",
"editor.formatOnSave": true,
"editor.tabSize": 2,
},
```

Yet, when trying to modify `.github/workflows/test.yml`, I get no syntax highlight for the file, despite being correctly recognized as a `Github Actions Workflow`.

![image](https://github.com/user-attachments/assets/125a55c6-bd64-4df2-ae23-0b6da6ba1505)

**To Reproduce**
Steps to reproduce the behavior:
1. With this workflow '...'
2. Do this '...'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Extension Version**
`v1.x.y`

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.