Coder Social home page Coder Social logo

Comments removed when formatting about vscode-yaml HOT 8 OPEN

krazik avatar krazik commented on August 22, 2024 9
Comments removed when formatting

from vscode-yaml.

Comments (8)

ecstasy2 avatar ecstasy2 commented on August 22, 2024 1

+1
This is a deal breaker for me. Yaml is code and code need documentation. It would be nice if we can find a alternative.

from vscode-yaml.

adamvoss avatar adamvoss commented on August 22, 2024

I recognize this is not an ideal solution, but the solution is to not use the code formatting functionality.

The underlying library that provides formatting does not (and will not) support comments. If another workable library can be found that preserves comments, I would be happy to switch.

from vscode-yaml.

krazik avatar krazik commented on August 22, 2024

yeah that sucks I obviously understand too. thanks for the reply.

-Ry

from vscode-yaml.

adamvoss avatar adamvoss commented on August 22, 2024

Reopening as a placeholder to try to reduce issue duplication.

from vscode-yaml.

txomon avatar txomon commented on August 22, 2024

Would you mind listing this in Known Issues section? Thanks!

from vscode-yaml.

adamvoss avatar adamvoss commented on August 22, 2024

@txomon That is a good idea. It will require a new release of vscode-yaml in order to show on the marketplace and I'm currently working on some potentially big changes regarding this extension, so I might let some of that hash out in the next couple days first.

from vscode-yaml.

fullc0ntr0l avatar fullc0ntr0l commented on August 22, 2024

https://github.com/mohsen1/yawn-yaml

from vscode-yaml.

BYK avatar BYK commented on August 22, 2024

@adamvoss is there any possibility to replace the parser witn yawn-yaml as @fullc0ntr0l suggested? I can open a PR if you are okay with the idea.

from vscode-yaml.

Related Issues (17)

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.