Giter VIP home page Giter VIP logo

Comments (6)

jeinwag avatar jeinwag commented on June 4, 2024 1

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.

jeinwag avatar jeinwag commented on June 4, 2024

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.

ssbarnea avatar ssbarnea commented on June 4, 2024

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.

jeinwag avatar jeinwag commented on June 4, 2024

Thanks for the heads up! I can see that developing a new language server for Ansible is no small feat.

from vscode-ansible.

ssbarnea avatar ssbarnea commented on June 4, 2024

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.

karthicraghupathi avatar karthicraghupathi commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.