github / github/vscode-github-actions

No syntax highlight in workflow files

Ouverte
#373 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
660
Forks
213
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Reproduce the issue with the provided VS Code language configuration and a representative .github/workflows/test.yml file. No source file, test, or entry point is named in the report, so first locate the extension's workflow-language and syntax-highlighting setup; done means workflow files receive syntax highlighting while retaining their GitHub Actions language mode.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript, vscode
Domaine
devtools
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
32/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.