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