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

HTMLAttributes

by agibsonsw ST2/ST3 Top 100

HTML(5) attribute completions

Details

  • 2014.05.06.21.52.06
  • github.​com
  • github.​com
  • 4 years ago
  • 3 minutes ago
  • 5 years ago

Installs

  • Total 199K
  • Win 135K
  • OS X 34K
  • Linux 30K
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 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
Windows 60 112 99 85 84 89 82 121 87 95 81 75 91 116 105 153 99 75 85 93 99 113 91 122 71 60 101 107 109 119 129 71 93 115 123 92 106 103 78 70 77 107 86 108 120 73
OS X 11 29 19 14 8 21 14 17 22 19 24 14 11 22 14 22 18 12 15 15 14 11 14 15 14 16 14 24 18 21 23 8 12 16 26 13 17 19 19 12 19 16 19 13 20 10
Linux 11 22 22 17 18 24 15 17 16 22 16 17 21 13 14 16 15 20 14 21 18 18 24 15 16 17 16 20 11 17 25 18 17 31 25 14 22 24 18 19 16 21 9 19 24 12

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.