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

Installs

  • Total 168K
  • Win 112K
  • OS X 30K
  • Linux 25K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 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
Windows 13 113 95 110 115 68 86 98 118 108 101 111 80 88 107 114 92 105 115 67 95 94 84 94 99 89 49 90 89 75 85 87 84 65 88 91 110 113 127 110 50 74 88 75 104 101
OS X 3 22 16 18 27 15 11 15 15 18 18 16 11 15 20 24 15 22 25 15 16 14 35 16 14 8 16 11 16 14 22 18 11 12 11 12 21 12 16 29 11 13 19 24 22 33
Linux 4 26 20 22 25 17 20 15 21 23 23 22 16 20 19 25 15 24 19 20 14 21 22 28 19 21 18 10 17 23 15 19 21 15 9 21 20 21 21 15 16 19 13 21 28 25

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.