ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

UIkit autocomplete

by uikit ST2/ST3

UIkit Sublime Plugin

Labels auto-complete

Details

Installs

  • Total 14K
  • Win 9K
  • OS X 4K
  • Linux 2K
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 9 14 8 13 9 6 16 8 17 10 9 10 17 11 15 9 12 12 9 9 10 11 10 14 10 11 15 13 15 11 21 5 7 7 13 16 21 14 9 14 8 15 13 17 3 11
OS X 3 3 4 2 2 4 7 1 6 3 6 5 13 4 5 8 2 2 5 6 4 6 9 7 3 3 6 8 4 11 4 8 4 10 4 3 2 4 1 2 5 12 2 3 4 3
Linux 1 4 2 1 0 0 4 2 2 2 2 1 2 2 1 5 1 4 0 3 1 3 3 2 1 1 3 2 0 1 0 0 0 2 1 3 2 3 0 3 1 2 2 1 0 0

Readme

Source
raw.​githubusercontent.​com

uikit-sublime

UIkit Sublime Plugin

Auto-complete plugin for UIKit classes and attributes.

UIkit

UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.

Installation

The plugin can be installed through Sublime Text's Package Control. Just search for UIkit autocomplete.

Alternatively, you can clone this repository to the Packages directory of your Sublime installation. In Mac OS, this looks as follows:

cd ~/Library/Application Support/Sublime Text 3/Packages/
git clone git@github.com:uikit/uikit-sublime.git

Usage

Class name autocompletion: When inside double quotes of a class attribute (class="[HERE]"), suggestions will appear for all uk- classes.

animation of class autocompletion

Component attributes autocompletion: When inside a tag, but outside of a quoted attribute string (<div [HERE] class="uk-container" [OR-HERE]>), suggestions will appear for all uk- attributes.

animation of attributes autocompletion

Note: In order for the suggestions to appear, your document needs to have the syntax set to HTML (or any child syntax like HTML (PHP)). You can set the syntax from the menu View > Syntax or via the Command Palette.

Developer

The following information explains how this plugin is maintained. Users do not need to care about those steps.

To keep this plugin in sync with UIkit, class names and attributes are extracted from the UIkit code base using the included npm script.

npm install
npm run update

To make a new version of the plugin available via package control, a new version tag needs to be created.

Copyright and license

Copyright 2017 YOOtheme GmbH under the MIT license.