Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigate to special line of file in Visual Studio + ReSharper

Are there any way in VS + ReSharper for navigate to special line number?

like image 552
IamMan Avatar asked Apr 10 '13 18:04

IamMan


People also ask

How do you search on ReSharper?

Press Ctrl+T or choose ReSharper | Navigate | Search Everywhere / Go to Type… from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there. In the Search Everywhere list that appears, start typing the item name.

How do I search everywhere in Visual Studio?

Once the window is open, you can either click between the different tabs, or you can use Ctrl + Tab or the assigned keyboard shortcuts of Ctrl + T and Ctrl + Q to switch between the code search and feature search tabs.

What does ReSharper do in Visual Studio?

ReSharper helps instantly get to any code in a solution, no matter how large the solution is. It can also navigate you from any symbol to its related code such as implementations of a given interface, extension methods of a class, or usages of a field.


2 Answers

Not sure I understand what you mean, but if you simply want to navigate to a specific line in a file, use Ctrl + g and enter the line number.

This is the same as the Edit -> Go To... menu item.

like image 67
Oded Avatar answered Jan 05 '23 23:01

Oded


With ReSharper 8 onwards, you can just CtrlT, type in something like Foo.cs 20 and go to line 20 in the file Foo.cs.

like image 41
Dmitri Nesteruk Avatar answered Jan 05 '23 23:01

Dmitri Nesteruk