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

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.