redhat-developer / redhat-developer/vscode-yaml
Autocomplete and Linting are Broken
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Issue Type: Bug
- With extension version 0.18.0 installed, create a file named
.gitlab-ci.yml - The window looks like this:

Note the "Gitlab CI configuration (gitlab-ci.json)" above line 1 - Autocomplete and linting work fine:

- Update the extension to 0.19.0.

"Gitlab CI configuration (gitlab-ci.json)" is gone - Linting and autocomplete no longer work

Extension version: 0.19.0
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19042
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 31.87GB (27.45GB free) |
| Process Argv | --crash-reporter-id 87f27f2c-dd1b-40a9-ae8b-7ff74ea6d775 |
| Screen Reader | no |
| VM | 0% |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the regression with a .gitlab-ci.yml file in VS Code using extension versions 0.18.0 and 0.19.0, then compare language registration and diagnostics behavior. Done means the GitLab CI configuration is recognized again and autocomplete and linting work in version 0.19.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100