redhat-developer / redhat-developer/vscode-yaml

No schema being loaded even for .travis.yml

Open
#415 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

I'm pretty sure it must be a problem with all the restrictions I have on my company laptop as on my personal one works flawless and it automacally detected it was ansible and downloaded the schema without me having to configure schemas or anything. Is there any kind of long of the extension?

I just installed on my company laptop the extension after removing the Ansible one and is not working even with the default files that is suppoed to work out of the box like .travil.yml. No autocomplete, no hover.

"On Developer: Show logs" I can see the following warning but nothing else.

[warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource.

If I try to manually map an schema from https://www.schemastore.org/json/ I get the error "unable to get local issuer certificate". As I said, I'm pretty sure is my laptop but I cannot figure out what is the issue. I have tried both, adding the proxy setting being on the company network and without them while being at home.

Setup:
VSCode 1.52.1
Windows 10

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

Start by reproducing the issue in VS Code 1.52.1 on Windows 10 with a .travis.yml file, then inspect Developer: Show Logs and the schema mapping request. Investigate why schema retrieval reports “unable to get local issuer certificate”; done means the schema loads and autocomplete and hover work without manual configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode, yaml
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.