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
  • 3 hours ago
  • 12 years ago

Installs

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

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.