ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Complete​Xml​Tag

by Neophyliam ST3

A sublime text plugin for completing xml tag.

Labels xml, formatting

Details

Installs

  • Total 174
  • Win 125
  • OS X 31
  • Linux 18
Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10
Windows 3 3 2 2 7 5 9 6 3 1 1 5 1 4 5 7 2 3 4 3 2 3 5 1 2 4 4 9 4 6 2 6 2 0 0 0 0 0 0 0 0 0 0 0 0
OS X 1 2 1 1 1 1 2 2 1 0 0 2 3 1 0 2 0 0 2 1 1 2 1 0 0 1 0 0 1 1 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 1 0 0 1 0 0 0 0 1 0 1 0 0 0 1 1 2 1 1 0 1 2 0 0 1 1 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeText XML tag completion plugin

This plugin is to convert the following XML file

<html>
<head></>
<body></>
</html>

to this:

<html>
<head></head>
<body></body>
</html>

It replaces </> with the corresponding tag name.

Installation

  • Package control: Use Package Control and search for “CompleteXmlTag”.
  • Manually: Go to Sublime Text → Preferences → Browse Packages and clone the repo to this directory and rename the repo folder to CompleteXmlTag.

Usage

  • Open the command pallette and type complete close tag.
  • Click Sublime Text → Selection → Format → Complete Close Tag.

Config

Not only the xml file can be formatted by this package, it also supports other XML-based file type. Just by modifying the settings file this way:

{
    "file_selectors": ["text.xml", "text.html"]
}

and the html file can also be formatted.

License

This software is distributed under MIT license (see License for details).