redhat-developer / vscode-yaml

YAML support for VS Code with built-in kubernetes syntax support
MIT License
665 stars 223 forks source link

Extension does not work in vscode-insider on macOS #563

Open nippyin opened 3 years ago

nippyin commented 3 years ago

Summary

Yaml extension does not seems to work, only suggestions I get while writing code is whatever is already written in the same file. when I do ctrl+space it says no suggestions on new file.

Relevant information

Installed the extension and then added following lines in my settings

"redhat.telemetry.enabled": false,
  "yaml.schemas": {
    "./schemas/ansible-galaxy.json": [
      "/Users/scpace/wsl2_ansible/**/*.yaml"
    ],
    "./schemas/ansible-inventory.json": [
      "/Users/scpace/wsl2_ansible/**/*.yaml"
    ],
    "./schemas/ansible-playbook.json": [
      "/Users/scpace/wsl2_ansible/**/*.yaml"
    ],
    "./schemas/ansible-role-2.9.json": [
      "/Users/scpace/wsl2_ansible/**/*.yaml"
    ]
  },
  "security.workspace.trust.untrustedFiles": "open"
}

also placed the schema files under following path. image Since this didn't work so in order to give it relative path I copied the schema files to following path too. image

/Users/scpace/Library/Application Support/Code - Insiders/User/schemas

andrewwillmott commented 3 years ago

Was coming here to report this too. The extension doesn't work on the Mac, even when using remote-ssh to connect to a Linux box to use a workspace there and with the extension installed remotely, which surprised me. The same workspace with the Linux vscode install works correctly.