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
  • 4 years ago
  • 50 minutes ago
  • 6 years ago

Installs

  • Total 218K
  • Win 149K
  • OS X 37K
  • Linux 32K
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 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
Windows 2 83 93 93 101 101 110 60 78 97 102 95 138 105 51 78 92 88 104 129 79 63 69 89 124 95 81 111 69 81 95 94 89 123 124 75 76 104 79 94 85 113 65 84 101 108
OS X 0 10 8 15 7 14 15 16 9 12 11 25 16 11 5 9 18 14 7 16 6 3 8 19 13 25 14 21 8 10 9 14 11 14 14 11 8 8 19 12 12 19 12 13 12 14
Linux 0 17 25 16 22 16 20 14 15 17 19 13 20 19 10 13 23 16 16 22 14 17 11 20 16 28 15 15 18 17 18 13 7 23 28 14 15 16 18 14 20 11 5 17 10 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.