Comments (7)
Any update on this issue?
I tried using
"yaml.schemas": {
"kubernetes":"https://github.com/instrumenta/kubernetes-json-schema/blob/master/master/deployment-apps-v1.json"
}
But still, the autocomplete doesn't work. Is this a known issue?
from vscode-yaml.
I believe this is actually a schema issue from the schema generated via https://github.com/fabric8io/kubernetes-model.
from vscode-yaml.
Running into this same issue, freshly create yaml files failed to have any auto-completion.
Using his sample file text from above:
from vscode-yaml.
Issue reported on the schema side here
from vscode-yaml.
@JPinkney Should we use schema from https://kubernetesjsonschema.dev/ ?
from vscode-yaml.
@vishal-hegde If you want to set that schema through a github url you would need to use: https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/master/deployment-apps-v1.json.
Also your yaml.settings is wrong, on the left hand should be the schema (or kubernetes is also valid here) and the right side should be the files that you want it to match.
I.e.
yaml.schemas {
"kubernetes": "test.yaml"
}
or
yaml.schemas {
"https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/master/deployment-apps-v1.json": "test.yaml"
}
from vscode-yaml.
Also, I'm going to close this as its not actually an issue with the code in this repository it is an issue with an external schema and thus should be reported in that repository.
from vscode-yaml.
Related Issues (20)
- Highlight patternProperties a different colour
- source.toolkit.fluxcd.io manifest with name prometheus.yaml error: Request vscode/content failed unexpectedly without providing any details.YAML(768) HOT 1
- Property apiVersion is not allowed. HOT 1
- Detected Tekton tasks as Ansible tasks HOT 1
- Allow `yamlValidation` to be defined programmatically
- YAML formatter for Ansible tasks schema fails for long task name
- Formatting breaks with default settings when yaml.format.printWidth is 80 but key is longer
- yaml is not validating correctly the config.yml file for github
- IntelliSence shows just enum subschema value when there is the same named property as the single enum value
- Integers Parse Incorrectly
- Migrate from Jenkins to GH action for extension release
- Rank schemas based on specificity
- Not working
- Warning about over 5000 symbols shown even when yaml.maxItemsComputed is MUCH higher
- Intellisense issues with custom schema file 🤧
- Notification of breaking api change with v1.92 release of VS Code
- Single dot shows as a float while it's a string HOT 2
- Search is stuck when the extension is enabled
- Default formatter not being set
- Suggestions do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-yaml.