VS2012 change the Find Dialog (CRL+F) to the old (and working) find dialog - visual-studio-2012

The "new and improved" VS 2012 Find And Replace Dialog, is frustrating me almost every time i have to use it (like every 30 seconds)
Is there way to make the find and replace window in VS 2012 act like it did in VS 2010?
I would like a non-docked, floating, DIALOG -- not the sticky auto-doc thing they have in VS 2012 (2013) now.
It would be nice to have a underlined-letter-hotkeys to navigate the dialog without a mouse, and the window to do not lose focus after search.

The way to make this is to use the FindInFiles dialog.
This can be done by learning to use "Ctl + Shift + F" instead of "Ctl + F" (bad), or simply change the shortcuts to use the old Find-In-Files dialog instead the new "thing" like this:
Tools, Options, Environment, Keyboard
In 'show commands containg:' enter this: FIND
Scroll down to Edit.Find
Remove any existing shortcut (I didn't bother)
Click into 'press shortcut keys' and press CTRL F
Click Assign
Scroll down to Edit.FindinFiles
Remove any existing shortcut (I didn't bother)
Click into 'press shortcut keys' and press CTRL SHIFT F
Click Assign
Hope that this will save you lot of furstration, like it was for me.

Related

Is there a way in Android Studio to show the "All" navigation tab automatically?

Ctrl+N shows classes, Ctrl+Shift+N files, is there an action which can show the All tab automatically? I like that better for completion.
Press double shift as Shift + Shift quickly.
It is called Search everywhere

Visual Basic 2013 - Pressing ALT gets me out of code

I just installed my Visual Basic and this is a problem I couldnt find an answer to. Everytime I press ALT it gets me out of code, and because I use SHIFT+ALT to change keyboards a lot while writing code, this is really disturbing to have to click in code again to be able to write.
Any ideas ?
Are you referring to the normal Windows way of accessing the menu via keyboard? This has nothing to do with Visual Studio; it will work similarly in almost any Windows application.
E.g. pressing Alt+F will open the File Menu etc. Just pressing Alt will highlight the menu (you should see the shortcut letters underlined for each item) and pressing a letter key will then open the menu. Instead, press Alt again to return to what you were doing before.

Releasing the find and replace pane in visual studio 2012

In Visual Studio 2012 the find and replace window has Docking alignment to the top right side, how to release it?
The "quick find" window isn't docked in the usual sense. Press Esc to dismiss it and also make the yellow-orange search result highlighting go away.
Alternatively, click the X in the top right of the mini window.
Edit.Find = docked Find window
Edit.Replace = docked Replace window
Edit.FindinFiles = undocked Find window
Edit.ReplaceinFiles = undocked Replace window
so for undocked windows you can press Ctrl + Shift + F or Ctrl + Shift + H
or alternatively change shortcuts in Options > Environment > Keyboard to reach desired windows easier.
This is not possible unfortunately, which really drives me nuts when trying to find something in a minified file (single line) since the find window commonly blocks the found result.
Last post I could find about it:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/3636907-let-me-undock-the-find-and-replace
The best solution I can find is copy and past file into notepad and find there (for my needs).
In Visual Studio 2012 all docked windows can be released as follows;
Docked Window's Header right click menu (or click Window Position Icon what located the far right of the header)> Float menu
If the usual things, as already suggested, won't work, here are two other ideas I have found to work with oddities in Visual Studio.
Disable all plugins and try again (had a weird case of VS crashing on Ctrl+S and it was a faulty plugin)
Try a repair on the install, could have some faulty files.

Accessing suggested actions in VS2012 using keyboard

When I've added a reference to a class but forgot to add using directive, R# would suggest automatic insertion of it. I'd access that by alt+enter.
Now, I'm on a system without R# and that forces me to use the mouse to unfold that tiny thingy to unfold a suggestion menu. How can I do that from the keyboard? Is it possible at all?
What you're looking for is to expand the Smart Tag menu.
This can be done by pressing the Ctrl + Period (.) shortcut.
You can also use Alt +Shift + F10 shortcut for this.
Edit:
And if by any chance the combo above doesn't work for you, you can re-activate it like this:
1 .
Tools > Customize > Keyboard... (notice the Keyboard... button is at the bottom right of that screen)
2 . Find the View.ShowSmartTag command and set it back to the Ctrl + Period (.) shortcut.

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.

Resources