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

Installs

  • Total 165K
  • Win 110K
  • OS X 30K
  • Linux 25K
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 24 65 88 91 110 113 127 110 50 74 88 75 104 101 113 76 72 91 84 111 105 86 52 62 70 74 73 79 69 54 60 92 78 100 77 77 53 77 95 95 120 84 103 51 65 77
OS X 3 12 11 12 21 12 16 29 11 13 19 24 22 33 22 4 11 19 13 16 19 15 5 16 15 15 13 9 8 6 13 15 16 12 22 14 9 15 21 16 24 27 20 14 21 19
Linux 3 15 9 21 20 21 21 15 16 19 13 21 28 25 25 15 14 25 22 25 19 12 2 16 16 16 22 20 13 12 13 14 18 17 20 23 10 16 25 19 15 18 19 14 15 19

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.