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

HTMLAttributes

by agibsonsw ALL Trending Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 8 years ago
  • 14 minutes ago
  • 9 years ago

Installs

  • Total 309K
  • Win 221K
  • Mac 44K
  • Linux 43K
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 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
Windows 38 48 31 44 27 20 18 40 33 34 30 23 21 30 35 26 34 31 30 24 35 34 41 34 27 22 29 30 25 25 38 35 16 29 30 29 33 28 28 23 29 27 27 42 27 37
Mac 4 2 3 3 1 1 2 1 5 0 0 0 2 2 4 2 2 1 2 0 2 3 2 1 2 2 4 1 3 1 4 1 2 2 1 2 2 4 3 3 2 3 2 5 13 6
Linux 5 5 7 6 1 4 3 5 3 2 5 5 2 6 3 3 5 4 4 4 3 7 4 2 8 4 1 2 4 5 2 4 3 1 3 5 5 1 2 1 0 3 5 4 4 4

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.