Collection of packages about HTML/XML tags.
Python JavaScript
Latest commit 776f5c6 Mar 18, 2016 @titoBouzout Installation
Failed to load latest commit information.
BracketHighlighter Alternative names for external features Feb 6, 2014
Close Tag On Slash Disable on widgets Mar 2, 2012
Default Alternative names for external features Feb 6, 2014
Insert As Tag Change line endings, and add clear_on_change Jan 9, 2015
Tag Classes Add feature "tag get CSS classes" Dec 5, 2014
Tag Close Tag Replace the built-in tag_close (ALT+.) command with the command provi… Mar 4, 2012
Tag Indent Remove context menu May 23, 2014
Tag Lint Change caption to be more descriptive. Apr 4, 2012
Tag Remove Attributes New: option to remove attributes from tags on document or selection(s… Feb 9, 2012
Tag Remove New: option to remove attributes from tags on document or selection(s… Feb 9, 2012
.gitignore Change line endings, and add clear_on_change Jan 9, 2015
Edit.py fixes #45 Jun 6, 2013
Main.sublime-menu Add feature "tag get CSS classes" Dec 5, 2014
Tag Package.sublime-settings Add feature "tag get CSS classes" Dec 5, 2014
Tag.py Sublime Text 3+ Package Jan 9, 2015
license.txt Add license GPL Mar 16, 2012
readme.md Installation Mar 18, 2016
tag_classes.py Add feature "tag get CSS classes" Dec 5, 2014
tag_close_tag.py May fix #79 May 22, 2015
tag_close_tag_on_slash.py May fix #79 May 22, 2015
tag_indent.py Indentation of code portions had a bug in the recognition of the clos… Feb 7, 2014
tag_insert_as_tag.py Module vs class Mar 30, 2013
tag_lint.py Change line endings, and add clear_on_change Jan 9, 2015
tag_remove.py Http://www.sublimetext.com/forum/viewtopic.php?p=57784#p57784 Feb 6, 2014
tag_remove_attributes.py fixes #45 Jun 6, 2013

readme.md

Description

"Tag" plugin is a collection of packages about tags, mixed together in an effort to provide a single package with utilities to work with tags.

Currently provides: "Close tag on slash", "Tag indent or AutoFormat Tags", "Tag Remove", "Insert as Tag", "Tag Remove Attributes", "Tag Close", "Tag Lint"

Improvements and more features about tags are welcome on this package. Please submit these.

Close tag on slash

A command that is meant to be bound to the slash ("/") key in order to semi auto close open HTML tags (in part inspired by the discussion at http://www.sublimetext.com/forum/viewtopic.php?f=5&t=1358). Requires build 2111 or later of Sublime Text 2.

Usage

Runs automatically when inserting an Slash "/" into an HTML document.

Tag Indent

Apply and/or add beauty indentation to HTML/XML/RDF/XUL tags found on selection(s).

Aims

Aims to add and/or apply correct indentation to little portions of HTML or XML, not to complete documents.

Usage

There is context menuitems called "Indent Tags on Selection", "Indent Tags on Document"

There is also Main menuitems: Edit -> Tag -> "Indent Tags on Selection", "Indent Tags on Document"

There is also commands "Indent Tags on Selection", "Indent Tags on Document"

Information

It takes the starting "indentation level" from the first line of each selection and sums tabs as needed.

On empty tags, and on tags with less than 60 characters, it writes the tag in one line.

Short-cut is "ctrl+alt+f"

Tag Remove

Provides the ability to remove all tags or some selected tags in a document or in selection(s).

Usage

The main menu "Edit" -> "Tag" provide access to the commands

Insert As Tag

Converts the current word to an html-tag. If there is no current word, a default tag is inserted.

Usage

The short-cut is "ctrl+shift+,"

Tag Remove Attributes

Allows to remove attributes from tags for selection or document.

Usage

The main menu "Edit" -> "Tag" provide access to the commands

Tag Close

Overwrite the built-in funtionallity by a custom one provided by this package which fix some bugs.

Usage

Windows, Linux : ALT+. OSX : SUPER+ALT+.

Tag Lint

Experimental feature which aims to check correctness of opened and closed tags.

Usage

The main menu "Edit" -> "Tag" -> "Tag Lint"

Installation

Download or clone the contents of this repository to a folder named exactly as the package name into the Packages/ folder of ST.