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

Installs

  • Total 248K
  • Win 172K
  • OS X 40K
  • Linux 36K
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 34 87 67 80 38 63 61 70 77 88 67 51 57 80 73 80 88 68 62 55 66 88 89 94 95 33 68 82 83 75 82 75 75 63 96 90 85 149 85 66 81 92 96 109 96 83
OS X 4 9 9 4 2 5 11 11 7 12 6 5 5 14 13 11 13 5 2 3 9 7 11 11 15 3 9 5 5 10 10 9 8 7 9 14 7 15 8 8 5 10 12 12 11 5
Linux 7 10 11 10 14 14 17 14 11 18 9 11 12 9 10 16 12 15 9 11 8 12 11 9 12 9 12 9 18 10 7 14 12 8 8 14 5 14 5 14 14 9 11 10 19 6

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.