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 16K
  • Win 10K
  • OS X 4K
  • Linux 2K
Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10
Windows 6 6 8 15 11 6 11 6 5 10 13 15 5 8 11 10 9 9 7 6 10 5 7 6 12 8 4 15 5 5 8 9 11 11 16 3 9 8 19 11 7 11 5 4 13 9
OS X 3 0 2 1 4 3 3 5 2 5 9 9 4 1 1 3 1 6 4 6 2 3 2 1 4 4 2 0 1 1 3 4 3 3 3 1 1 2 3 6 3 1 2 5 1 1
Linux 0 1 2 1 0 3 0 3 2 1 2 4 3 1 1 3 2 1 2 3 4 2 1 0 3 0 0 5 0 0 3 0 1 3 1 1 2 2 1 3 4 2 2 1 1 4

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.