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

HTMLAttributes

by agibsonsw ALL Trending Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 11 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 328K
  • Win 237K
  • Mac 46K
  • Linux 45K
Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27
Windows 2 7 22 4 10 6 7 7 3 6 7 9 6 5 4 1 5 12 3 9 1 9 3 7 4 5 12 8 9 5 7 10 7 9 10 6 10 5 6 4 10 4 10 5 5 7
Mac 0 0 0 2 0 1 0 1 0 0 2 0 1 1 0 1 0 1 0 0 2 1 1 0 0 2 2 1 0 0 0 0 1 0 0 0 1 0 2 0 0 1 0 0 0 0
Linux 0 2 1 3 2 1 1 0 1 0 0 2 4 0 1 2 0 2 1 1 2 5 0 2 3 1 1 1 1 0 2 1 1 2 3 0 2 1 0 2 2 2 0 1 3 3

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.