Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snippets with full structures (HTML elements and UIKit attributes) #enhancement #18

Open
klor opened this issue Mar 14, 2018 · 1 comment

Comments

@klor
Copy link

klor commented Mar 14, 2018

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:

  1. Start writing '<div class="'
  2. Press CTRL+Space (Windows) or enter "uk" to open the uikit sublimetext snippets (a dropdown opens).
  3. Select "uk-container" from the dropdown
  4. The attribute is now added inside your HTML, and that's it. Example:
<div class="uk-container
  1. 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:

  1. Enter "b4", a dialog opens
  2. Select "b4:grid" to generate a grid:

image

  1. HTML element with attributes are now inserted for you, no or very little manual typing is needed:

image

See also Twitter Bootstrap 3 Snippets Plugin for Sublime Text 2/3 (Top 100 plug-in for Sublime Text)

@diomed
Copy link

diomed commented Mar 21, 2018

@florianletsch it's been more than a year since anything has changed here. some updates would be nice.
also, no1 ever touched #13 . when will that future come? :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants