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 days ago
  • 6 years ago

Installs

  • Total 209K
  • Win 142K
  • OS X 36K
  • Linux 31K
Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 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
Windows 73 74 93 85 93 81 79 60 67 71 91 87 77 96 66 69 99 109 102 113 107 67 92 94 100 119 105 98 66 88 79 111 99 91 87 77 82 101 110 92 141 71 79 99 72 101
OS X 3 10 15 15 23 21 12 3 7 12 10 18 11 11 5 7 20 16 21 20 15 11 9 17 20 15 21 24 9 10 10 15 20 19 9 11 17 16 21 15 18 14 7 10 11 14
Linux 10 13 17 16 21 23 25 17 14 20 16 20 18 20 16 20 24 15 24 15 12 9 19 19 19 18 22 20 12 13 16 22 17 26 27 11 21 19 16 17 23 13 12 11 7 18

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.