Skip to content

Instantly share code, notes, and snippets.

Badger jtmille3

  • SAS
  • Cary, North Carolina
Block or report user

Report or block jtmille3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jtmille3
jtmille3 / tidy_xml.py
Created Aug 19, 2012
Enhanced XML Formatting for Sublime Text 2
View tidy_xml.py
import sublime, sublime_plugin, subprocess
class TidyXmlCommand(sublime_plugin.TextCommand):
def run(self, edit):
if self.view.sel()[0].size() > 0:
self.cursor = None
for region in self.view.sel():
self.format(edit, region)
else:
self.cursor = self.view.sel()[0]
You can’t perform that action at this time.