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
  • 5 years ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 242K
  • Win 168K
  • OS X 39K
  • Linux 36K
Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 87 77 50 66 73 85 90 76 93 58 61 75 76 74 65 67 49 58 73 70 76 80 68 60 45 79 82 73 117 80 55 64 80 79 81 95 62 29 0 2 89 72 101 75 58 68
OS X 12 6 8 6 3 4 9 10 10 8 1 10 10 13 5 4 3 8 7 7 8 8 11 5 6 11 16 10 9 11 3 7 8 9 10 9 12 6 0 1 11 11 17 13 5 8
Linux 14 8 11 12 17 14 12 10 12 9 10 11 11 14 17 13 13 10 10 11 14 12 15 16 11 8 16 12 13 18 8 17 11 16 18 18 11 10 0 0 14 26 15 16 6 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.