05.12 Go To Definition for Cascading Style Sheets

DEFAULT

F12

VISUAL BASIC 6

F12; Shift+F2

VISUAL C# 2005

F12

VISUAL C++ 2

F11; Alt+F1

VISUAL C++ 6

F12

VISUAL STUDIO 6

[no shortcut]

WINDOWS

[no shortcut]

COMMAND

Edit.GoToDefinition

VERSIONS

2008, 2010

CODE

vstipFind0021

For those who are familiar with using Go To Definition in your code, you might not be aware that you can use the same technique to go to your Cascading Style Sheet (CSS) definition class for attributes. Just put your cursor inside the class name:

image with no caption

Then press F12 (or right-click and choose Go To Definition). It instantly takes you to the CSS definition and highlights it:

Now you can review the ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.