Coder Social home page Coder Social logo

Support for xml? about difftastic HOT 6 CLOSED

wilfred avatar wilfred commented on May 9, 2024 5
Support for xml?

from difftastic.

Comments (6)

DaKnig avatar DaKnig commented on May 9, 2024 2

hi! just wanted to bring your attention to tree-sitter-xml, if that could help. I am also interested in getting xml supported.

from difftastic.

mgunyho avatar mgunyho commented on May 9, 2024 2

I'm interested in this as well. I have recently tried this tree-sitter xml parser with some simple SVG files and it seems to work: https://github.com/ObserverOfTime/tree-sitter-xml

from difftastic.

Wilfred avatar Wilfred commented on May 9, 2024

It's an interesting idea. The extremely simple parser in difftastic using syntax.toml wouldn't work well XML's delimiters.

If we used something like roxmltree (an XML parser that preserves comments), we could use difftastic's internal AST and diffing would just work for XML.

I'm going to close this issue for now: it's not a goal before 1.0.

from difftastic.

BerengarWLehr avatar BerengarWLehr commented on May 9, 2024

Would love xml support as well

from difftastic.

DaKnig avatar DaKnig commented on May 9, 2024

please add .ui files to the xml extension list, thats the extension used by many gnome apps for their xml buildable files

from difftastic.

Wilfred avatar Wilfred commented on May 9, 2024

@DaKnig done :)

from difftastic.

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.