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 256K
  • Win 178K
  • OS X 40K
  • Linux 37K
Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5
Windows 4 52 50 53 57 81 78 72 43 51 83 78 103 80 73 44 64 66 82 76 93 70 43 50 74 71 52 77 80 38 56 61 76 61 81 79 55 54 50 92 80 80 80 56 64 80
OS X 0 7 4 4 6 6 6 7 2 9 8 11 7 4 8 4 5 4 6 9 7 4 5 4 4 11 7 5 6 6 8 9 7 5 6 5 5 7 5 9 9 12 5 3 11 17
Linux 0 7 11 10 10 12 16 14 6 10 12 16 12 16 11 14 7 15 14 8 9 10 10 10 8 8 7 10 9 6 10 12 13 9 7 13 8 3 7 8 17 10 9 8 13 8

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.