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

Installs

  • Total 300K
  • Win 214K
  • Mac 44K
  • Linux 42K
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 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11
Windows 1 57 26 50 45 44 40 53 45 51 40 50 34 37 49 42 62 38 62 40 46 54 45 59 58 46 34 62 56 59 68 45 46 41 41 55 52 52 56 58 46 42 48 43 42 46
Mac 0 3 3 6 3 0 2 5 4 3 2 5 2 1 4 8 5 3 5 3 3 5 3 10 5 6 5 3 6 7 10 4 8 9 3 7 6 3 8 5 7 5 2 3 7 2
Linux 0 8 3 7 5 3 6 6 9 7 9 6 4 6 5 3 5 8 10 7 4 8 2 4 5 4 2 4 5 4 5 5 3 10 5 5 6 3 9 9 4 2 3 10 8 6

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.