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
  • 10 years ago
  • 20 minutes ago
  • 12 years ago

Installs

  • Total 326K
  • Win 236K
  • Mac 46K
  • Linux 45K
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 Mar 10 Mar 9 Mar 8 Mar 7
Windows 0 7 5 6 4 9 7 6 4 4 6 22 9 7 13 7 8 9 10 24 14 6 7 11 7 15 16 10 8 13 11 15 14 15 12 9 13 10 11 8 12 10 10 12 8 15
Mac 0 2 0 7 0 1 0 2 1 2 0 0 1 0 0 0 2 2 2 4 1 0 0 0 1 0 2 0 0 0 2 0 0 0 1 0 1 0 1 1 2 3 0 1 0 2
Linux 0 0 1 0 0 1 3 0 1 0 0 2 2 0 0 1 0 3 7 1 3 1 4 3 2 2 1 0 4 0 0 0 1 3 1 0 0 1 1 1 3 3 3 1 0 2

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.