Goto-CSS-Declaration
Goto CSS declaration in an open *.css file
Details
Installs
- Total 178K
- Win 140K
- Mac 27K
- Linux 10K
Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 7 | 6 | 0 | 3 | 7 | 9 | 5 | 9 | 4 | 3 | 8 | 5 | 6 | 5 | 6 | 8 | 4 | 6 | 4 | 3 | 4 | 4 | 3 | 4 | 3 | 8 | 4 | 6 | 4 | 3 | 5 | 3 | 5 | 10 | 4 | 5 | 3 | 1 | 9 | 4 | 5 | 8 | 4 | 4 | 3 |
Mac | 1 | 1 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 2 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Linux | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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