redhat-developer / redhat-developer/vscode-yaml

Autocomplete and Linting are Broken

Open
#508 19 comments 0 reactions 0 assignees View on GitHub

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

  1. With extension version 0.18.0 installed, create a file named .gitlab-ci.yml
  2. The window looks like this:
    image
    Note the "Gitlab CI configuration (gitlab-ci.json)" above line 1
  3. Autocomplete and linting work fine:
    image
  4. Update the extension to 0.19.0.
    image
    "Gitlab CI configuration (gitlab-ci.json)" is gone
  5. Linting and autocomplete no longer work
    image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.