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
  • 9 years ago
  • 31 minutes ago
  • 10 years ago

Installs

  • Total 318K
  • Win 229K
  • Mac 45K
  • Linux 44K
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 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17
Windows 18 25 26 21 17 34 19 19 23 19 19 12 21 25 26 36 35 23 28 23 29 44 22 29 26 9 19 12 31 23 21 29 11 24 19 25 26 25 17 17 18 21 21 32 31 32
Mac 3 0 1 2 1 2 1 2 3 4 2 1 2 1 3 1 2 2 1 1 2 2 4 0 4 1 1 2 3 3 0 0 2 4 1 3 3 4 1 1 0 3 4 7 2 2
Linux 1 2 1 3 0 1 1 3 3 1 1 1 5 1 1 2 7 3 4 2 3 3 3 4 5 2 2 3 3 1 4 2 3 3 3 1 3 3 6 1 3 3 3 3 3 1

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.