Quick Find / Find in Files scope in Visual Studio 11 Beta - visual-studio-2012

In Visual Studio 2008 and 2010, the "Quick Find" and "Find in Files" window had different search scopes. I was using the Quick Find window to search the current document and the find in files window to search the entire solution.
In the new beta version, changing the scope in one window impacts the other window too. Is there a way to go back to the previous behaviour?
Thank you

There is a fix for this (VS11 BETA ONLY Find Settings Seperator)
I found it at: http://blogs.msdn.com/b/visualstudio/archive/2012/04/11/improving-find-amp-replace-in-visual-studio-11-beta.aspx
Shortcut to fix

Related

Hotkey to open TFS Source Control Explorer in Visual Studio 2012?

Currently I have to open Team Explorer and click on Source Control Explorer as below snapshot.
I do this very often and need a hotkey for that.
What is it then?
Try with below step:
Go to Options of Tools menu
Select the Keyboard from Environment
Select View.TfsSourceControlExplorer from Show commands containing:. You can type View.TFS in the textbox to filter the list.
Enter your hotkey in Press shorcut keys => click on Assign
Hope it helps!
According to a comment that I found in the site that #Adarsh mentioned, Alt+V,E,S will open the Source Control Explorer. It's a couple extra keystrokes but it works for me!
You can use Ctrl+0,P to open the Pending Changes Window.
You can find all the shortcuts for team Explorer on this blog: http://blogs.msdn.com/b/buckh/archive/2012/06/06/team-explorer-2012-keyboard-shortcuts.aspx
Update:
In Visual Studio 2013 Ctrl+0,P doesn't seem to work to open Pending Changes, but you can use Alt-V,E,H or configure a custom shortcut in the menu Tools/Options/Environment/Keyboard.
Just wanted to share another alternative I learned. One could set an alias in VS Command Window and launch it from there.
alias sce View.TfsSourceControlExplorer
note- 'sce' is an alias of your choice. I generally abbreviate. Obvious but having a pattern will be helpful if you have many of these.
Steps:
Open command window (ctrl+alt+A)
Set the alias (the statement shown
above)
Next time you need to launch the Source Control Explorer,
switch/launch command window and type your alias name. 'sce' in the
above example.
Alt+V,E,S works for me even in VS 2015
In case you like to see more shortcuts, please visit this site
http://visualstudioshortcuts.com
IN VS 2015
Toolbar=>Team=> Manage Connections =>(window like solution explorer will open on right side) Team Explorer- Connect=> Beneath the home symbol ==> Click "Connect"=>Click "Source Control Explorer"

Change TODO item color in Visual Studio 2012 with Resharper 8

After installing Resharper 8 on Visual Studio 2012 my TODOs are now a retina-searing blue of which this screenshot does not do justice:
I've found similar questions here and here they don't seem to apply to VS2012 and/or RS8, as there is no "Resharper Todo Item" nor any other Resharper items under the Display Items for Fonts & Colors.
Just to post a possible workaround if somebody has the same behavior - apply actions from the following article. It looks oddly but works.
Close all Visual Studio instances
Open C:\Program Files (x86)\Microsoft Visual Studio {VS
version}\Common7\IDE\Extensions\extensions.configurationchanged file
Type anything there
Save the file
Open VS and check Fonts and Colors in Tools | Options | Environment
Navigate to environment settings using Visual Studio (Tools -> Options -> Environment -> Fonts and Colors) and change the colour of the TODO items in the text editor. Scroll to the item in the "Display items" list which shows as "Resharper TODO item"
A Visual Studio crash and restart later, Resharper display items are suddenly showing up under fonts and colors. I contacted Jetbrains and apparently this was a verified bug, though that link is now dead which would lead me to believe that they fixed it, but for some reason this answer is still getting upvoted so maybe not.
Maybe the next upvoter can edit this answer or provide a comment with the current state of affairs?
This is not a Win 8.x issue; I am using Windows 7 and encountered the problem when I applied Resharper 8 to VS2013. The link that Alexander posted resolved the problem for me. I did, however, have to copy the file to My Documents, make my edit there (a simple hash symbol) and then copy it over the source location.
Adding an empty line in the file extensions.configurationchanged worked for me.
Visual studio 2013 with Resharper 10

Visual Studio 2012 is slow when selecting items in the solution explorer

After having installed "Visual Studio 2012 Update1" some new buttons have been added, but unfortunately Solution Explorer has become incredibly slow. All mouse events on it (click, right click, double-click, on either the toolbar or any item) requires 5-10 seconds before having an answer.
After having un-installed update1 speed returned normal(=immediate).
Maybe one possible cause is one of the new buttons added, maybe "Show on Code Map".
Unfortunately I can find no way to customize (remove buttons from) Solution Explorer Toolbar; there is no "Show on Code Map" extension installed.
I have no ideas on how to investigate further.
As at least one guy got the same problem (here) maybe someone has the solution or ideas on how to further investigate.
Thank you
Stefano
Using:
Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
UPDATE:
Microsoft released Visual Studio 2012 Update 2;
now, with Update 2 installed, everything has returned 'normal speed',
so this question can be considered closed/obsolete. :-)

Is there a way to disable Quick Find in Visual Studio 2012?

I just upgraded to Visual Studio 2012 from 2010 and cannot stand the fact that Cntrl + F brings up the new Quick Find dialog in the upper right hand corner of the editor. I typically just dock the Find and Replace window and prefer to use that. Is there a way to disable Cntrl + F from bringing up the new Quick Find window and instead have it move focus to the Find and Replace window similar to how VS 2010 did it?
Yes there is. You can assign the keyboard shortcut ctrl+f to edit.findinfiles in tools>options>environment>keyboard. So far it works for me.
Instead of modifying the default keyboard shortcuts consider using
Ctrl+Shift+F for "Find in files"
Ctrl+Shift+H for "Replace in files"
Sometimes it's not always possible/advisable to change the default shortcuts. Like when working on another persons computer.

Visual Studio 2012 Solution Explorer Search doesn't search cshtml files

When I refactored a namespace in Visual Studio 2012 MVC 4 Web project, the razor files that included the "#model MyFirstWeb.Domains.LoginModel" did not get touched which caused an exception when compiling for first use.
It isn't that much of a deal but rather odd?, can I register the cshtml as a file extension to search?
If I use the "Search Solution Explorer" to try and file the text I know exists in that file I get nothing?
What am I missing?
Here's a blog post that explains the ins and outs of the Solution Explorer Search:
http://www.schwammysays.net/visual-studio-2012-tip-search-in-solution-explorer
Basically, you're searching the Solution Explorer, not the files, so anything that's visible in the Solution Explorer will be searched. Luckily, the Solution Explorer now includes logical structure as well.
This appears to be a known bug in VS 2013 R1, which was identified and then closed but users are still having issues. Although outside of the solution explorer, you can use the 'Ctrl + ,' search to these filetypes in your solution.
The related tickets are here....
http://connect.microsoft.com/VisualStudio/feedback/details/801838/solution-explorer-search-doesnt-include-js-or-cshtml-results
and
http://connect.microsoft.com/VisualStudio/feedback/details/801836/solution-explorer-doesnt-search-files-projects-inside-solution-folders

Resources