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

Installs

  • Total 330K
  • Win 239K
  • Mac 46K
  • Linux 46K
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 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14
Windows 2 2 2 5 0 1 4 4 5 0 2 4 1 3 6 6 3 8 3 2 3 2 0 1 3 4 5 3 2 3 0 2 5 2 5 4 2 3 3 5 12 6 3 5 0 7
Mac 0 0 0 2 1 1 0 0 0 0 0 0 1 0 1 1 0 2 0 0 1 0 0 0 0 0 1 0 2 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 1 0 0 0 0 2 0 1 0 1 1 0 1 1 1 1 2 0 1 0 1 0 2 0 1 0 0 0 1 0 1 3 0 0 0 0 1 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.