Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agibsonsw/HTMLAttributes
HTML(5) attribute completions
https://github.com/agibsonsw/HTMLAttributes
Last synced: 16 days ago
JSON representation
HTML(5) attribute completions
- Host: GitHub
- URL: https://github.com/agibsonsw/HTMLAttributes
- Owner: agibsonsw
- Created: 2012-07-17T12:24:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-06T21:52:06.000Z (over 10 years ago)
- Last Synced: 2024-08-01T05:23:37.919Z (3 months ago)
- Homepage:
- Size: 116 KB
- Stars: 35
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.