-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Enhancement request:
Currently this plugin can add snippets inside HTML elements at the "attribute level". For instance, the workflow to add "uk-container" inside a DIV is:
- Start writing '<div class="'
- Press CTRL+Space (Windows) or enter "uk" to open the uikit sublimetext snippets (a dropdown opens).
- Select "uk-container" from the dropdown
- The attribute is now added inside your HTML, and that's it. Example:
<div class="uk-container
- Finish your HTML by entering
">stuff</div>
and you finally have:
<div class="uk-container">stuff</div>
Better: I suggest that the plugin is complemented with a way to add full structures that include HTML elements and UIKit attributes. This will make it really easy to create grids, form input elements and the like - and reduce the need for manual typing.
As in these SublimeText plugins:
Bootstrap 4 Snippets for Sublime Text 2&3 - workflow:
- Enter "b4", a dialog opens
- Select "b4:grid" to generate a grid:
- HTML element with attributes are now inserted for you, no or very little manual typing is needed:
See also Twitter Bootstrap 3 Snippets Plugin for Sublime Text 2/3 (Top 100 plug-in for Sublime Text)
Metadata
Metadata
Assignees
Labels
No labels