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

Installs

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