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

Installs

  • Total 185K
  • Win 125K
  • OS X 33K
  • Linux 28K
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 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 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
Windows 78 77 95 96 106 94 119 72 70 87 122 120 104 119 73 92 88 121 108 104 115 72 75 100 112 100 76 99 57 60 95 88 104 88 120 64 75 92 131 104 105 91 88 69 96 97
OS X 7 11 16 18 19 21 21 15 7 10 14 19 18 15 12 7 13 14 31 19 18 11 14 16 12 8 13 19 13 17 21 27 21 15 18 12 10 13 20 14 16 15 10 13 10 12
Linux 19 21 23 19 23 15 22 10 12 22 21 20 18 21 19 22 26 12 16 21 17 17 23 19 17 18 19 16 18 17 18 24 18 27 15 13 11 29 22 17 11 26 22 13 20 20

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.