Skip to content

yaml template not working #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
satyamguharoy opened this issue Aug 22, 2019 · 3 comments
Open

yaml template not working #43

satyamguharoy opened this issue Aug 22, 2019 · 3 comments

Comments

@satyamguharoy
Copy link

After installing I typed start and press tab key, but it did not bring up the basic template. it works for .json file though.

@iDVB
Copy link

iDVB commented Aug 22, 2019

I have the same issue, but only recently.
#42

@aws-scripting-guy
Copy link
Owner

Confirmed. The issue seems to be related to the new version of yaml-language-server.

Until the issue is further isolated, please follow the steps below for a quick workaround.

Fix:

  1. Go to Extensions list and choose Yaml Language Support by Red Hat
  2. Click the Settings wheel and choose Install Another Version
  3. Pick 0.4.1
  4. After installation restart VS Code
  5. Yaml snippets should work again as expected.

yaml server

0.5.0 and 0.5.1 were released 2 days / 1 day ago, so guys from Red Hat probably introduced some breaking changes.

@iDVB
Copy link

iDVB commented Aug 24, 2019

@aws-scripting-guy I found the issue that got them to fix and up the version. redhat-developer/vscode-yaml#215

I can confirm that your extension was broken since before this latest fix. In fact it’s how I got started down the path to fixing that other module.

Oh, BOTH versions were in the last few days? Maybe it broke on the first of those two. That would explain a lot.

UPDATE - yes rolling back to YAML v0.4.1 two does fix the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants