Goto-CSS-Declaration
Goto CSS declaration in an open *.css file
Details
Installs
- Total 177K
- Win 140K
- Mac 27K
- Linux 10K
Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 5 | 7 | 2 | 2 | 5 | 10 | 0 | 0 | 0 | 0 | 2 | 12 | 14 | 11 | 1 | 3 | 3 | 2 | 2 | 0 | 0 | 4 | 5 | 4 | 5 | 5 | 7 | 6 | 3 | 8 | 2 | 5 | 10 | 4 | 4 | 5 | 4 | 4 | 11 | 3 | 5 | 7 | 5 | 6 | 6 | 7 |
Mac | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 2 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 3 | 0 | 0 | 2 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
Goto-CSS-Declaration
v0.3 - 99% refactoring
v0.2.1 - Fix empty view.file_name
Goto CSS declaration in an open *.css (.less, .sass, .other) file from other file (*.html, *.js, *.other_extantion)
Forum Thread http://www.sublimetext.com/forum/viewtopic.php?f=5&t=4397
Example
html:
<div id="box" class="box"></div>
^
|-cursor
js:
$(".box").click(...);
^
|-cursor
Pressing the key super+right
or super+left
go to the first CSS declaration of box
(.class or #id => .box or #box), in this example the id #box
#box .box-shadow {
background: url(../img/box.jpg);
}
#box-shadow .box-shadow-1 {
box-shadow: 0 0 5px #ff0;
}
.box__inner {
box-shadow: 0 0 5px #f00;
}
and if then press (in CSS file) super+right
goes to the next CSS declaration of box
, in this example the class .box-shadow
, and next => #box-shadow
, and next => .box-shadow-1
, and next => .box__inner
also you can press (in CSS file) super+left
and goes to the previous CSS declaration of box
.
goto_css_declaration.sublime-settings
{
"css_files": [".css", ".sass", ".less"]
}
Default (Linux).sublime-keymap
super + right
super + left
Default (Windows).sublime-keymap
super + .
super + ,
Copyright
Copyright © 2011 Razumenko Maksim razumenko.maksim@gmail.com
MIT License, see http://opensource.org/licenses/MIT