Home

Awesome

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 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 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.