Comments (3)
Yes, you can override its config by defining your own schema patterns and location of schemas. Read https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
The patterns defined by this extension can be found at https://github.com/ansible-community/vscode-ansible/blob/master/package.json#L136-L202 and anything setup by you manually will take precedence.
In the future we may switch to local schemas produced by ansible itself, unique to your setup but for the moment that is only a long term plan, basically because these schemas are not mature yet and we update them often, much more often than we update the extension code.
In fact your offline use-case means you cannot benefit from json-schema store at all, one major feature of redhat-yaml extension.
from vscode-ansible.
Thanks for your reply !
Can the extension work with the command ansible-lint ?
In fact, I can use this command to detect errors, it may be a good feature to use internet when it's possible or ansible-lint when offline ?
from vscode-ansible.
This extension does also run ansible-lint and reports found errors, the only thing you need to do is to install it yourself. If it is in path it will use it but you can also configure the path. Read https://github.com/ansible-community/vscode-ansible/blob/master/README.md and check the first bullet on known issues.
The easiest way to discover if it works or not is to avoid adding a name for a task. The linter should highlight that issue and report it inside the Problems. You need to open the file to have it linted, current version does not lint entire repository , not yet.
from vscode-ansible.
Related Issues (20)
- Add document formatting feature OR set YAML extension's formatter on ansible playbooks. HOT 2
- Adopt ansible-language-server into vscode-ansible repository HOT 2
- Suggestions show all installed collections as part of 'ansible.builtin' HOT 1
- Improve Ansible LSP Docs for Vim and Neovim
- RFE: Allow for right-click on a molecule scenario to run it
- chore: upgrade chai v5
- Scaffolding collection fails when the web view in used for subsequent usage
- aaa HOT 1
- ansible variable resolution with live preview HOT 1
- Code quality checklist
- easily follow imports
- Modules from collections are not recognized when COLLECTIONS_PATH is set via env var HOT 1
- Standardise the functionalities provided by ansible-creator in the extension
- Ansible-language-server npm package 1.2.2 is missing core files HOT 1
- RFE: Ability to add devcontainer/devfile files to a workspace w/o ansible-creator
- Update development documentation for the new project structure
- "Open collection" should open in new window, with a new virtual environment
- Disable create buttons in the collection and project creation web-views during the scaffolding process
- Hung up remote session keeps running at 100% CPU HOT 3
- [error] Error: ENOENT: no such file or directory, stat - with temp pyc files
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-ansible.