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
  • 3 years ago
  • 22 minutes ago
  • 5 years ago

Installs

  • Total 175K
  • Win 118K
  • OS X 31K
  • Linux 26K
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 1 91 58 79 116 114 98 119 128 52 74 98 80 100 106 110 74 79 107 100 106 115 122 71 69 98 118 121 121 112 72 104 107 104 89 99 121 72 91 96 122 129 106 111 76 84
OS X 0 24 10 14 12 24 15 21 8 13 13 18 25 26 21 14 11 9 18 22 21 22 13 12 8 16 16 19 24 17 8 12 15 16 19 21 23 8 29 16 15 20 18 18 12 22
Linux 1 16 11 18 36 17 12 22 21 13 20 17 25 18 25 25 19 18 27 17 28 28 24 8 10 14 23 21 15 13 10 9 23 21 22 21 14 20 17 22 26 19 25 12 16 16

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.