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

HTMLAttributes

by agibsonsw ALL Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 11 years ago
  • 1 week ago
  • 13 years ago

Installs

  • Total 329K
  • Win 238K
  • Mac 46K
  • Linux 45K
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 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8
Windows 2 8 8 13 6 7 2 5 9 8 7 6 6 2 2 7 6 5 8 10 9 9 10 7 12 5 5 3 3 8 9 9 11 6 4 3 3 7 7 7 3 5 0 3 8 5
Mac 1 0 1 3 0 1 2 1 1 1 0 0 1 0 1 1 2 0 1 1 0 0 2 3 0 0 0 0 1 0 2 1 1 1 2 0 1 0 0 0 1 1 1 0 0 1
Linux 0 1 2 0 0 1 0 1 0 2 1 2 2 0 1 2 1 0 0 0 1 3 1 1 2 1 1 0 0 2 1 0 2 1 2 0 0 1 4 0 1 0 1 1 0 2

Readme

Source
raw.​githubusercontent.​com

These are fairly straight-forward HTML attribute completions for
Sublime Text, including most HTML5 attributes.

It includes completion of many standard values. For example, typing
the letter 'c' in the type="" attribute will complete "checkbox".
If you Backspace and enter the letter 't' it will be replaced
with "text". "text/css" and "text/javascript" for the type-
attribute are inserted by typing 'j' or 'cs' within the quotes.

There are two versions for some boolean attributes. For example:
CHECKED, or
checked="checked"

Depending on your settings you may need to press Ctrl-Space to
display the completions within an opening HTML-tag. I just type
1 or 2 letters and press the Tab key! This uses the fuzzy-search
feature of ST, and ST will also 'learn' about your preferences.
With a little practice you can fill-in attributes extremely
quickly.

Note: The Emmet (formerly ZenCoding) package uses a different
approach, so it may not sit comfortably with HTMLAttributes.