Visual Studio Clicking Find Results Opens Code in Wrong Window - visual-studio-2010

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.

Related

How do I stop Visual Studio 2022 find starting a new set of editor tabs?

I use various finds to do basically all my navigation in VS... haven't been back to .NET for a while, and are using VS 2022, but there's a behaviour I can't handle, and I'm wondering how to stop it.
Basically
I have a set of code open in a bunch of tabs.
I hit the key to open the "find in files" window and put in a search
It opens a new pane with find results in it.
Clicking on any file inside the find results opens that file IN THIS NEW PANE
So suddenly I have two sets of editor tabs. I never want two sets of editor tabs.
How do I stop it doing this?
It sounds like your Find Results window is Docked as Tabbed Document. In this case, right click the Find Results tab and select Dock to fix the problem.

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.

'Property pages' tab is missing in VS2010

On the right of VS2010, there is normally a group of tabs, like the solution explorer and the property pages tab. It seems that the tab to access the property pages is missing.. How can I get it back? This must be easy.
The tabs will only appear if more than one window is docked at the same spot. If you don't see them then you either have undocked the window or closed them. Closing be the more likely case here, use the View menu to get them back. Or Windows + Reset Window Layout if you're completely lost.
Click on the Project name in the Solution Explorer and then press F4. The Properties window/tab should now appear.
Note that this Properties tab is different than the one shown if you right click the project name and then click "Properties."
Under View Dropdown menu, should be there.
Or right click on the app in design mode and click properties.
Close your visual studio and open the Visual Studio Command Prompt (from window Start -> Programs -> Visual Studio XXXX -> Visual Studio XXXX Tools) and enter "devenv /setup".
If you want to dock one below the other it's a two step operation. You need to start with the two windows not connected together at all.
1) dock the first window on the right hand side of the application. This should fill all of the vertical space available.
2) make sure the second window is floating then drag it towards the first. When the arrows appear move the mouse over the down arrow and the second window should snap below the first.

Multiple editor windows in Xcode

When coding in Xcode, I double-click a file in the "Groups and files" list, and it opens a new editor window. I have several of these open at once.
Until today.
Today, when I double-click a file in the list, it opens the file in the last editor window I was using, meaning I can only have one editor window up at any one time.
I guess I've switched some option somewhere by mistake. How do I get it back to the way I like it?
I'm using Xcode 3.2.5
In the top right of the editing window is an icon that says "grouped", perhaps you clicked on it by accident.
Click on it so it says "ungrouped", and you'll be back to opening multiple windows.
perhaps preferences>General>Open Counterpart in same Editor

VS2010 docks code windows in the wrong place

When I double click on an entry in my Error List or Find Results list in VS2010, it docks the newly opened source code file not in the large window where all my other source files go, but in the small narrow window at the bottom along with the error list etc.
How can I get it to put it up with the others by default?
If I double-click an item in Solution explorer it puts it in the right place
I got things back to normal by using the Window | Reset Window Layout menu option. I noticed that now the tabs for "Error List" "Output" "Pending Changes" etc were now at the bottom of their docked window rather than the top. I think I somehow or other must have created a second code window area and docked my error list window etc into that.
Incorrectly docked (tabs at the top):
Correctly docked (tabs at the bottom):
I too had this problem and now found the cause: if you move the bottom window pane a visual guide is shown on which you can dock them to various places. For the bottom two visual options are shown - one where the pane will be part of the upper pane and one were it will be placed below the upper pane. The second choice gives a proper behavior wereas the first one gives you the tab titles at the top and doesn't work.
I think this is very annoying because it happens from time to time that I accidentally drag the pane. (I'm using a tablet) Probably this dragging is the cause for the trouble.
I was having the same issue but, for a number of reasons, didnt want to reset all my settings.
I draged all the open windows from the bottom panel area so they were floating, closed the find results window, redocked the error and output windows, then did a search (find in files) and the new floating window popped up, I then docked this to the same area that errors and output were in and when I double clicked on a file in the results window it opened in the right place.
I hope this works for you to and anyone else experiencing this issue...
I couldn't find the Window -> Reset Window Layout option. The above answers helped me understand, the problem was with me having moved around my windows. What finally helped me was the little symbols on the top right corner of the find results window. Instead of the usual 'Inverted triangle'+'Pushpin'+'x' symbols, what I saw was just the Inverted Triangle, which meant I docked the find results window in the main file docking area. So, when I moved it to the bottom docking area in Visual studio, it worked for me.

Resources