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

Installs

  • Total 327K
  • Win 236K
  • Mac 46K
  • Linux 45K
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 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 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 9 8 6 6 4 3 5 5 19 4
Mac 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 1 1 0 3 0 2 0 0 0 0
Linux 0 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 0 2 2 1 2 0 0 0 1 1

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.