Pin Find & Replace dialog - visual-studio-2013

In Visual Studio 2013, is there any way I can keep the Find & Replace box pinned in the corner, as in the image below, when I move between files?
I have 10 documents open. I know I want to do search in say 3 particular files only. So All Open documents or All Files doesn't make sense.
Right now as soon as I go to second document, the box disappears. I have to do Ctrl+F for it to come back.
I know I can do some docking but I want to keep it in that corner as it is very convenient and occupies less space.

You can click your solution/project and click Ctrl-H to open the find and replace window from there.

Just a reference, as this helped me out so posting here to help others.
Pressing CTRL + F opens up "Quick Find" which will open a small dialog box in the top corner of the file and will jump around all the files you are searching.
Pressing SHIFT + CTRL + F opens up "Find in Files" which will open up a bigger dockable dialog box which you can have floating or dock to the windows. This does take slightly longer to search, but im sure if you configure the find settings it will be quicker. The plus for me was the docking aspect.
This is on VS 2019, not sure what other versions this might be on.

Related

In Visual Studio is there a way to show both up and down (left and right) arrows in the finder at the same time?

I want to click back and forth, without using keyboard commands and without first clicking the down arrow to reveal one or the other. I just want to see both arrows at once.
No, you cannot do what you want with the Find window in the current 15.9.x version of Visual Studio 2017.
However, if you hit <Ctrl><Shift>-F, you will see the Find and Replace window. If you set Look in to Current Document, then it will behave just like the Find window--except this window displays Find Previous and Find Next buttons--exactly what you want.

How can I stop the Find and Replace window from vanishing?

I have positioned the Find in Files and the Find Results 1 windows just where I want them.
But when I click the Find All button the Find and Replace window vanishes and I have to manually bring it back from the Edit menu.
Why is this and how can I stop it !
(I am using Visual Studio 2015 Community Edition)
After pressing the Find All button and going through your results you can just click Ctrl+shift+f to make it visible again. Avoid closing of the Find Results window, it will disappear automatically.

How to revert editor background color after search in Visual Studio?

My end goal is to have ABSOLUTELY NO HIGHLIGHTING on any text after I click away from it. As you can see, the background of previously selected text does NOT revert after a Replace operation. I've looked for days and continue to find discussions relating to the "inactive selected text," but this does not seem to be the correct area.
Here's a look. Keep in mind that nothing is actually selected here:
I have Visual Studio Express, and in it when you click away from a search and replace or find, the actual search window doesn't close automatically and the highlighting remains there. If I want the highlighting to go away, and when I'm done with the search and replace, I just close the search window. It is not actually a window, but here is what it looks like on mine:
When I close this window, or dialog box or whatever, the highlighting goes away as well.

Visual Studio Clicking Find Results Opens Code in Wrong Window

I'm using Visual Studio 2010 and when I do a "Find in Files" the results are returned to the "Find Results 1" window which is docked below my code editor window.
Before, I would double click on one of the results in the Find Results window and the file I clicked on would open in the code editor panel.
The problem is now when I click on one of the results, it opens in the same panel as the Find Results window which happens to be much smaller than the code editor window which is annoying.
Does anyone know how to make it so that when I double click on the search results they open up in the code editor window again?
Thanks!
Click Window → Reset Window Layout
Works for VS2013 Update 4 and all newer versions, including VS2019.
I thought I had this problem but it was easily fixed by docking the Find Results window using the very bottom of the window position selectors.
The files open in the same position as the Find Results when the window is docked in the positions immediately next to the centre position.
This is also being discussed here:
VS2010 docks code windows in the wrong place
Go the same... irritating... I realized that this unwanted behavior happened only while the app was running in debug. After I stopped debugging, a new panel was created with this file open in it. If I opened new files, they would open in this new panel. If I close all files in this new panel, opening new files from the "Find In Files" open in the standard code editor window (as long as the app is not running).
I had this problem also. I experienced the problem in VS2013. I did not want to do "Window -> Reset Window Layout" because it seemed like that was going to do other stuff that I did not want it to do.
Here was my solution:
I noticed the problem in VS2013 in which I had project "A" open.
I opened another copy of VS2013 and opened project "B".
I closed the copy of VS2013 that was exhibiting the annoying behavior: project A.
I closed the copy of VS2013 that had project B open.
This saved the settings from the "good" copy.
Opened project A in VS2013 and all was well.
Obviously, the caveat is that this requires you notice the problem before you close VS2013. But if you do notice it in time, this is a pretty easy solution.
For those who do not want to dock their "Find Results", "Error List", "Output",... windows to the right, and for those the above answer which is Window->Reset Window Layout doesn't work: may be you are trying to dock wrong place! You should dock these windows to very bottom. Refer here: https://stackoverflow.com/a/2735726/6176317
For me, this was happening with a Visual Studio window containing an SQL file with the Window Split option active. If the cursor was in the top pane of the window, both Ctrl + F (Find) and Ctrl + H (Find & Replace) would cause the find control to appear in the other (main) Visual Studio window. Moving the SQL window into the main window just caused Find and Find & Replace to display the "Find in Files" dialog instead until another tab was selected.
The workaround was to place the cursor in the bottom pane which caused both Find and Find & Replace to work correctly in that pane of that window. Unfortunately as long as the Window Split is there, the bug is still there in the top pane.

Visual Studio Task Panel

Does anyone know how to prevent task panes from expanding unless you click on them? Sometimes I hover over one, and it takes a bit to load breaking my concentration.
Thanks!
EDIT: Now that I've had a few days to reflect on my question, I realize the answer is to close it. Let me provide an example. When you are in Word, and you want to look up a synonym to a word, you open the a thesaurus to find an alternate word. You press ALT+F7 and it bring it up. The thesaurus opens in a Task Pane, and when you are done, you click the X to close it. You don't unpin it and have it sit on the side and get annoyed when you hover over it and it pops into view, covering your content and getting in the way. With that being said, the same mental model applies to visual studio. Don't have windows or panes open which you don't need. Open them when you want to preform a task, "close" the task pane, don't hide it.
Cheers!
P.S. This doesn't mean I feel it isn't bad design to pop open windows when you hover over them (I'm sure someone will debate me on this). I still would like an option to choose when to open collapsed windows.
I keep it closed. I open it only when needed. I do the same for tools and servers.
Try to memorize their shortcuts, and keep'em closed.
Use the little "Pin" icon (right between the triangle and "X" icon of the pane) to fix it, then resize or close it.

Resources