Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Selecting file from Search panel overwrites previous file(Dispaly file from Search panel)
Selecting file from Search panel overwrites previous file [message #1724419] Tue, 23 February 2016 19:50 Go to next message
Ron Block is currently offline Ron BlockFriend
Messages: 2
Registered: July 2012
Junior Member
When you select a file from Search it overwrites the previous selected file with the new selected file. Why doesn't it work the same as selecting a file from Project Explorer and display the file separately and preserve the file tab?
Re: Selecting file from Search panel overwrites previous file [message #1724432 is a reply to message #1724419] Tue, 23 February 2016 22:11 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 395
Registered: June 2014
Senior Member
The reason it works that way is that when a user is "browsing" with search they typically are looking for a specific file and don't want all the other files on the way to the correct result to remain open. Therefore the Search view reuses editors.

If this default does not suit you (as it sometimes does not suit me!) then please change it from Window | Preferences | General | Search and change "Reuse editors to show matches".

index.php/fa/25091/0/

As a convenience, the preference page can be accessed from the search view in less click by clicking the view's menu and choosing preferences.

index.php/fa/25092/0/
Previous Topic:Disassembly Editor
Next Topic:Attaching to process: Not suspending the process
Goto Forum:
  


Current Time: Tue Nov 21 02:56:08 GMT 2017

Powered by FUDForum. Page generated in 0.02126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software