All Projects → idleberg → sublime-semantic-ui

idleberg / sublime-semantic-ui

Licence: MIT License
Snippets for the Semantic UI framework

Semantic UI for Sublime Text

The MIT License Package Control GitHub release Travis

Sublime Text snippets for the Semantic UI framework.

This package is work in progress

Installation

Package Control

  1. Make sure you already have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+p)
  3. Type “Semantic UI” and press Enter

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-semantic-ui.git 'Semantic UI'

Manual installation

  1. Download the latest stable release
  2. Unzip the archive to your Sublime Text Packages directory

Usage

Completions

All command completions are prefixed with ui, typing dash-connected class names should trigger the element of choice.

Examples:

  • ui-image completes to an image tag
  • ui-form will complete to form tags
  • ui-blue-label completes to a blue label

Snippets

There are some extra snippets for elements with children. For instance, you can use ui-4-button for a button group with four buttons inside.

Icons

To add icon support, please install Icon Fonts via Package Control.

Troubleshooting

By default, command completion should be enabled in all versions of Sublime Text. If the completion pop-up doesn't work, you can use Ctrl+Space to force it to show up. Alternatively, you might also have to add the HTML scope (text.html) to your user settings under auto_complete_selector.

License

This work is licensed under the The MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].