github / github/vscode-github-actions
Syntax highlight error: Did not highlight comment after string value
- Langage dominant
- TypeScript
- Étoiles
- 660
- Forks
- 213
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Describe the bug**
In the screenshot below, the comment `# Cache causes errors on macOS` wasn't highlighted as comment.
```yaml
- name: Cache
uses: actions/cache@v4
timeout-minutes: 2
continue-on-error: true
if: matrix.os != 'macos-latest' # Cache causes errors on macOS
with:
path: |
~/.cargo
target
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-
```
**To Reproduce**
Already provided
**Expected behavior**
Highlight comment as comment
**Screenshots**
Already provided
**Extension Version**
`v1.28.1`
**Additional context**
Add any other context about the problem here.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the YAML reproduction in the issue and verify the behavior using the extension version v1.28.1 in VS Code. Trace the syntax-highlighting behavior for the inline comment after the quoted value; done means the `# Cache causes errors on macOS` text is highlighted as a comment.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript, yaml
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100