Giter Site home page Giter Site logo

Comments (4)

JPinkney avatar JPinkney commented on May 28, 2024 5

Added in 0.0.12 release!

from yaml-language-server.

JPinkney avatar JPinkney commented on May 28, 2024

It is because the parser currently does not support custom yaml tags. I'm looking into a parser that supports both custom yaml tags and comments right now for this issue and redhat-developer/vscode-yaml#75.

from yaml-language-server.

kace91 avatar kace91 commented on May 28, 2024

@JPinkney Hi!

Have you been able to find any parser that can potentially add those features and replace the current one?

My company is right now developing a yaml-based language for some private needs, and we'd need support for !include tags as well as possibly comments. We're considering using this server and contributing to it, so we'd appreciate it if you can share what you've managed to investigate so far :)

from yaml-language-server.

JPinkney avatar JPinkney commented on May 28, 2024

@kace91 Right now the best candidate by far is https://github.com/eemeli/yaml. It has a really expressive AST and has tests against all of YAML 1.2 spec.

My only concern is that at the top of the AST readme it says this: "Does practically no error checking, and should never throw -- but if you feed it garbage, you'll likely get a garbage AST as well". That seems to be the only drawback I can find. One thing we would need to check is how this would effect the results shown to the user etc.

from yaml-language-server.

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.