Comments (3)
Looks like I actually already had a note about that in the README.
from exalt.
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.
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)
- Auto-Completion based on scheme. HOT 2
- When formatting XML used tab size is always 2 spaces HOT 7
- After fixing errors validator still shows error HOT 13
- Entities in external DTD are neglected HOT 4
- undefined symbol: PyExc_ImportError HOT 1
- Validating Magento 2 XML files HOT 5
- some info about catalogs HOT 2
- Ignore multiple schemaLocation HOT 10
- Canonical xml using Exalt HOT 6
- Validation error disappears from screen HOT 4
- failed to located the main schema HOT 12
- `exalt_format` raises errors in console when used in non-xml files HOT 1
- Default keybindings can interfere with AltGr bindings in regional keyboard layouts HOT 1
- [Bug] Can not begin to use issue HOT 2
- Exalt is silent, when schematypens is missing from xml-model PI HOT 6
- [Bug] TypeError: 'NoneType' object is not iterable HOT 6
- add instruction to restart sublime after install HOT 1
- External DTD Validation not working HOT 6
- Shows error for CDATA entries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exalt.