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
  • 1 hour ago
  • 12 years ago

Installs

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

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.