ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTMLAttributes

by agibsonsw ALL Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 7 years ago
  • 3 hours ago
  • 9 years ago

Installs

  • Total 296K
  • Win 210K
  • Mac 43K
  • Linux 42K
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 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26
Windows 29 51 35 57 49 52 51 66 38 48 45 60 58 47 56 32 49 41 54 63 60 66 44 44 60 68 74 66 65 46 44 30 54 57 52 51 46 57 61 62 48 63 52 43 52 49
Mac 3 2 2 3 4 4 6 3 5 1 3 4 3 6 3 2 2 5 4 2 5 6 6 2 4 7 7 1 6 1 1 2 2 3 3 4 2 4 0 4 7 5 4 5 3 3
Linux 3 4 9 6 5 6 6 8 5 9 11 3 5 4 3 7 3 8 5 5 4 12 4 10 7 3 12 6 4 9 2 8 7 8 6 11 4 7 6 9 4 10 8 5 8 12

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.