tweezy23 / anyedittools

Automatically exported from code.google.com/p/anyedittools
2 stars 0 forks source link

Prepoluate "Open Resource" dialog in Compare With Workspace File #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select resource
2. open context menu (right click)
3. select "Compare With" > "Workspace File ..."

What is the expected output? What do you see instead?
The search field in the opened "Open Resource" dialog is empty. Instead, it 
could already contain the name of the selected file. This would reduce typing 
in case both files have the same name (which probably isn't uncommon) without a 
significant impact if they don't - given the search input is already selected. 

For Java source files, this already works to a certain degree: select the class 
name in the editor, open the context menu and again select "Compare With" > 
"Workspace File ...". The opened dialog already contains the class name - not 
all files contain its own name though.

What version of the product are you using? On what operating system?
2.4.0.201101292156 (just installed form Marketplace), Helios Service Release 2

Please provide any additional information below.

Original issue reported on code.google.com by stefan.f...@gmail.com on 14 Feb 2012 at 4:43

GoogleCodeExporter commented 9 years ago
The initial list shown in the "Open Resource Dialog" is the history.
The text field on the top is the filter.
Pre-settig the text filed would be useless in 99% of the cases (for projects 
containing no duplicated files), as user will only see ... nothing except the 
given file.
Given all that I'm not willing to change anything, sorry.
Regards,
Andrey

Original comment by iloveeclipse on 18 Feb 2012 at 11:50