Is there a way to quickly find files in Visual Stu

2019-01-29 15:08发布

Does Visual Studio 2010 have a built-in way to quickly find/open files, similar to the Ctrl+Shift+O function in Eclipse?

Edit: Or does Resharper offer this functionality?

15条回答
劳资没心,怎么记你
2楼-- · 2019-01-29 15:54

Unfortunately, VS doesn't offer this search-as-you-type functionality (and lots more).

查看更多
走好不送
3楼-- · 2019-01-29 15:55

this addin will very usefule to quickly open files from visual studio by pressong CTRL + K + O

http://visualstudiogallery.msdn.microsoft.com/en-us/3eb2f230-2728-4d5f-b448-4c0b64154da7

查看更多
Bombasti
4楼-- · 2019-01-29 15:56

Ctrl+,

I'm surprised no one gave the right answer:

Navigate To can show you a list of open files and lots more. http://weblogs.asp.net/scottgu/archive/2009/10/21/searching-and-navigating-code-in-vs-2010-vs-2010-and-net-4-0-series.aspx

CTRL+COMMA is your friend.

查看更多
爷的心禁止访问
5楼-- · 2019-01-29 16:01

In Eclipse, Ctrl+Shift+O = "Organize Imports"... which I am not sure what this is. But it is not the Ctrl+Shift+F = Find in Files that is in Visual Studio.

查看更多
倾城 Initia
6楼-- · 2019-01-29 16:03

There is also another way to find files in the Visual Studio 2010 might be useful for someone.

In the command box in visual studio toolbar type ">of " and start typing the file name it will prompt list. Note: This will only find the class not the pages try it for yourself.

enter image description here

查看更多
祖国的老花朵
7楼-- · 2019-01-29 16:03

For file name search I use the Visual Studio Productivity Power tools: http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/ It adds a tab to Solution Explorer called "Solution Navigator". It shows all the solution files in a tree and has a search bar at the top.

To search for text in all your solution files, use Entrian's Source Search: https://stackoverflow.com/a/9994522/24267

查看更多
登录 后发表回答