Community
Participate
Working Groups
Created attachment 275980 [details] Screenshot CTRL+E should use a similar label provider as Ctrl+R to show the full path of the items. This allows to find the correct editor.
Created attachment 276249 [details] Open Resource Dialog (Ctrl+Shift+R) The dialog that shows path is implemented in FilteredResourcesSelectionDialog.
The label provider for Ctrl+E should be added in org.eclipse.ui.internal.WorkbookEditorsHandler.setLabelProvider(TableViewerColumn)
I am going to fix this by overriding WorkbookEditorsHandler.getWorkbenchPartReferenceText(.), where I'll return the previous text plus the path relative to the workspace.
Created attachment 276276 [details] Example of Ctrl+E displaying the full path
New Gerrit change created: https://git.eclipse.org/r/131025
Possible additional improvements: a) Ctrl+e, type in the filter: filter applied only to file name and not the path b) Add a checkbox on the bottom, to filter on nsme only or name + path when unchecked
(In reply to Patrik Suzzi from comment #6) > Possible additional improvements: > a) Ctrl+e, type in the filter: filter applied only to file name and not the > path > b) Add a checkbox on the bottom, to filter on nsme only or name + path when > unchecked Lets handle that via separate bugs.
(In reply to Patrik Suzzi from comment #4) > Created attachment 276276 [details] > Example of Ctrl+E displaying the full path Looks great. :-)
Gerrit change https://git.eclipse.org/r/131025 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e6e142d83b3dac0f8b0f60d5f6071bd0b18417af
Thanks Patrick, please add to N&N
(In reply to Lars Vogel from comment #10) > Thanks Patrick, please add to N&N Immediately. (In reply to Lars Vogel from comment #7) > (In reply to Patrik Suzzi from comment #6) > > Possible additional improvements: > > a) Ctrl+e, type in the filter: filter applied only to file name and not the > > path > > b) Add a checkbox on the bottom, to filter on nsme only or name + path when > > unchecked > > Lets handle that via separate bugs. Update: the Ctrl+E dialog filters only on the name of resources. Do you think we should add a checkbox to the bottom to filter both on name and path?
New Gerrit change created: https://git.eclipse.org/r/131095
Gerrit change https://git.eclipse.org/r/131095 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=738abacc98a6bfe2089f2cd150162b2084ec2387
Created attachment 276292 [details] Ctrl+E using IWorkbenchPart#getTooltip As suggested by Andrey, I am going to use the IWorkbenchPart#getTooltip to get the path and all the needed information on the file currently being edited. See attached image, showing how it works on editors for java code, java classes, images, text, and browsers.
New Gerrit change created: https://git.eclipse.org/r/131098
Gerrit change https://git.eclipse.org/r/131098 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e70e568d6e08b1fc715b171f76ed69fceb34da15
It is causing bug 540792.
(In reply to Eclipse Genie from comment #13) > Gerrit change https://git.eclipse.org/r/131095 was merged to [master]. > Commit: > http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=738abacc98a6bfe2089f2cd150162b2084ec2387 > Hi Patrik, While reviewing the N&N, I found the text for this entry to be confusing. The text says "shows both the filename and the path of the resource currently being edited", but in the screenshot the path of all the files is shown. Also, it's not clear if it shows only relative path or full path. Can you please clarify?
(In reply to Lakshmi Shanmugam from comment #18) > (In reply to Eclipse Genie from comment #13) > > Gerrit change https://git.eclipse.org/r/131095 was merged to [master]. > > Commit: > > http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=738abacc98a6bfe2089f2cd150162b2084ec2387 > > > > Hi Patrik, > While reviewing the N&N, I found the text for this entry to be confusing. > The text says "shows both the filename and the path of the resource > currently being edited", but in the screenshot the path of all the files is > shown. Also, it's not clear if it shows only relative path or full path. Can > you please clarify? I removed "currently being edited" from the text. Here's the updated entry - https://www.eclipse.org/eclipse/news/4.10/platform.php#ctrl-e-show-path
(In reply to Lakshmi Shanmugam from comment #18) > > Hi Patrik, > While reviewing the N&N, I found the text for this entry to be confusing. > The text says "shows both the filename and the path of the resource > currently being edited", but in the screenshot the path of all the files is > shown. Also, it's not clear if it shows only relative path or full path. Can > you please clarify? It is displaying the path stored in the Editor > Tooltip. - for some resources, it is possible to display the file path - for others, like those contained in an archive, there is a different way to compute the path. After discussing with Andrey in https://git.eclipse.org/r/#/c/131025/, I decided the best way to display the resource path is to reuse WorkbenchPartReference#getTitleToolTip()