alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 135 forks source link

Add error handling for parsing xml #37

Closed YUJIANDE closed 11 years ago

YUJIANDE commented 11 years ago

Hi,

Problem: if the xml is not valid, command 'indent xml' would do nothing. I feel confused when first use the plugin. I thought: "wait, am i install the plugin right? Is it the way I trigger the plugin wrong?"

Solution: A straightforward one: Pop up the console to show the error details.

Thanks, Jiande

alek-sys commented 11 years ago

Just merged it from console + tested a bit.