Code Monkey home page Code Monkey logo

Comments (5)

dmachaj avatar dmachaj commented on June 12, 2024 1

I got the natvis wired up in my project. Unfortuantely the support seems incomplete. For example, I am using ryml::ConstNodeRef for a readonly YML file. The existing natvis has ryml::NodeRef but not ConstNodeRef. The result is that this object is not visualized and is still indecipherable.

from rapidyaml.

dmachaj avatar dmachaj commented on June 12, 2024

Nevermind, I now see that there is natvis support. I just didn't see an issue for it so I assumed it was missing. It is here:

@see http://blogs.msdn.com/b/vcblog/archive/2013/06/28/using-visual-studio-2013-to-write-maintainable-native-visualizations-natvis.aspx?PageIndex=2
.

from rapidyaml.

biojppm avatar biojppm commented on June 12, 2024

Thanks for reporting. At the moment I am limited in time, and it will take some weeks before I can look at this. PR for this would be welcome.

from rapidyaml.

dmachaj avatar dmachaj commented on June 12, 2024

That's fair.

If I do decide to take this on it would be very helpful if there is some sort of overview of the primary ryml types (perhaps a comment in a header file somewhere?). I have only begun to use this library so I don't have any deep understanding of the primary types or how best to visualize them. If there is some preexisting documentation that would help speed things along considerably.

Thanks.

from rapidyaml.

dmachaj avatar dmachaj commented on June 12, 2024

I tried poking at this a bit today. The existing natvis provides partial coverage. There is a missing set of parenthesis that is preventing [children] from working on NodeRef. Also, copying/modifying NodeRef to cover ConstNodeRef helps my usage quite a bit.

I'd like to get [KEYMAP] and friends to be able to dump their child keys. However, I'm not sure if this can be done because the NodeData does not have a reference to the tree and can therefore not look up the underlying buffer to find the pointers to the children based on their index.

from rapidyaml.

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.