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
  • 27 minutes ago
  • 7 years ago

Installs

  • Total 260K
  • Win 181K
  • OS X 41K
  • Linux 38K
Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1
Windows 58 63 70 59 51 90 59 78 64 68 58 68 62 77 89 88 85 45 56 78 88 73 67 85 49 68 95 76 73 83 121 48 60 70 91 85 84 72 63 63 71 88 90 95 63 53
OS X 3 5 12 5 11 9 10 5 12 6 3 2 11 8 5 7 10 2 5 7 4 4 14 8 4 7 8 14 8 6 3 4 7 5 12 10 14 8 2 2 8 8 4 11 4 4
Linux 12 7 7 6 11 12 20 8 8 11 9 10 15 7 7 14 13 9 9 8 12 13 18 11 9 9 10 9 9 12 20 6 9 13 8 12 10 5 15 11 9 13 21 14 14 14

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.