CSS: Goto Declaration
By Petr on Mar 11, 2010
There is a new feature that allows navigate to CSS class or id selector declaration from CLASS or ID attribute of an HTML tag. When you go over a usage of a class or id selector with mouse pointer and the CTRL key is hold, then the selector is change to a link. The link navigates to the declaration.
The picture below displays the navigation from td tag in an HTML file to the CSS file, where the header_top class selector is defined.
When there are more declarations that fit the selector name, than a popup window is displayed, where you can select the file. The red (unrelated) mark means that there is no direct connection between the usage and the declaration.
As you can see the features works in HTML files and PHP as well.