Coder Social home page Coder Social logo

Comments (3)

eerohele avatar eerohele commented on May 26, 2024 2

Looks like I actually already had a note about that in the README.

from exalt.

eerohele avatar eerohele commented on May 26, 2024

The README isn't clear about this, but Exalt can only format well-formed XML fragments. If you select two XML elements as indicated in your link, your XML fragment won't have a root element, which means it isn't well-formed.

By default, Exalt tries to recover non-well-formed XML when formatting, which is probably why it deletes the lines.

Probably the best way to work around this restriction is to use Sublime Text's multiple cursors feature and select the two <dict/> elements separately and then use Exalt's "Format Selections" command to format them.

Does that work for you?

from exalt.

Kristinita avatar Kristinita commented on May 26, 2024

Does that work for you?

Yes, it worked for me. Please, add information about exalt_format_selections to README.MD.

Thanks.

from exalt.

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.