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

Installs

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