Comments (6)
I'm closing this issue since I can see the language server is already on the horizon. Thanks for the great work!
from vscode-ansible.
Ok, I did some more digging: Turns out VS Code is using a completely different schema for the playbook (not from the https://github.com/ansible-community/schemas repository), no idea why.
But the problem remains: I can't get any suggestions for modules in the tasks file, even though they are in the schema that's being used (https://github.com/ansible-community/schemas/blob/main/f/ansible-tasks.json).
from vscode-ansible.
This is kinda expected/known and it will take some time to be fixed. We discovered that JSON schema does not scale to the size of the data model we have on Ansible, especially when Ansible has all community modules. The plan is to replace current use of YAML extension with a custom language server for Ansible, which would not have such limitations.
Still, that is a major piece of work and I do suspect it will take a couple of months to complete.
from vscode-ansible.
Thanks for the heads up! I can see that developing a new language server for Ansible is no small feat.
from vscode-ansible.
Probably we will close most existing bugs when we make the first release with the language server as they will no longer apply.
from vscode-ansible.
I'm experiencing the same problem. Has the language server been released yet? If not, is there a relevant issue I can follow?
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 2
- 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 HOT 1
- 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.