List LESS Variables
Simple Sublime 2/3 plugin for listing LESS variables used in a file and inserting them into the file
Details
Installs
- Total 20K
- Win 13K
- Mac 5K
- Linux 2K
Nov 21 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
This plugin has been superseeded by the universal plugin
List LESS variables
Simple Sublime 2/3 plugin for listing LESS variables used in a file.
(Looking for a SASS, Stylus version? Check out the beta version of the universal plugin)
The default hotkey is Ctrl+Alt+L (or Ctrl+Shift +L on Linux to avoid conflicts with the lock screen hotkey).
It displays a list of LESS variables used in your current file allowing you to insert a selected one
directly into your code. It also supports @import
ed LESS files so you can use variables defined in
external files. This can be disabled in settings.
Note that the plugin automatically ignores anything which looks like a vendor prefixed statement (e.g.
@-webkit-keyframes
) and reserved words (e.g. @media
, @import
etc.)
Please note that the plugin currently does not understand variable scope and therefore will display all the occurances of a variable.
Installation
You can use the Sublime Package Manager to install this plugin. Alternatively, clone the repo into your Packages folder.
Configuration
The settings file has currently two options:
readImported
(default:true
) - decides whether the plugin should attempt to read imported filesreadAllViews
(default:false
) - decides whether the plugin should attempt to read all opened LESS files
Currently if the plugin checks all opened LESS files, it will only check for imported files in the currently selected file.