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

HTMLAttributes

by agibsonsw ST2/ST3 Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 252K
  • Win 175K
  • OS X 40K
  • Linux 37K
Jun 24 Jun 23 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
Windows 53 44 51 53 66 72 59 65 45 51 50 57 49 53 75 50 36 48 50 64 51 47 39 56 58 60 64 75 72 55 50 65 74 58 83 65 69 52 59 106 86 60 73 52 57 67
OS X 1 5 2 5 8 4 8 5 5 5 8 9 7 5 8 2 2 4 4 9 3 3 2 4 3 6 7 6 9 3 7 4 7 9 8 8 6 5 5 10 3 9 6 2 6 6
Linux 5 13 9 8 5 11 9 10 4 5 9 12 12 8 14 6 5 16 9 12 15 13 5 2 4 11 10 5 13 12 12 7 16 11 13 8 3 8 6 12 10 15 11 10 10 12

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.