Link Text editor and Project Explorer doesn't work in some cases [message #1852910] |
Fri, 10 June 2022 12:20 |
Pavol Sestak Messages: 5 Registered: September 2013 |
Junior Member |
|
|
Here is simple scenario how to reproduce it:
Let's have some java project and in it somewhere in directories have some jasper template file (*.jrxml). When invoke search: menu Search->File...
put on File Search tab some text to search that I know is definitely in some jrxml files in my project and file name pattern set to *.jrxml.
Then in search result in Search view on right click in context menu choose "Open with -> Text editor" , not system editor - just simple text editor in Eclipse.
And that's it - link between text editor and Project Explorer view doesn't work.
Of course toggle button "Link with Editor" is on.
BUT! when the very same file is open through right click on context menu in Project Explorer view then the Editor<->Project Explorer link works.
The point is opening the file from the results in Search view. Then the link Editor<->Project Explorer doesn't work.
The same problem discovered when opening file via dialog Open Resource:
Ctrl-Shift-R, then type the resource name we are looking for, e.g. *.jrxml.
Then in this Open Resource dialog clicked on bottom button
Open With -> Text Editor.
File is open in text editor, but the link Editor<->Project Explorer doesn't work.
Seems line the link works only when the originator of open file command is
Project Explorer or Package Explorer. When the originator is Search view or Open Resource dialog, link doesn't work.
Tested on
Version: 2021-12 (4.22.0)
Build id: 20211202-1639.
[Updated on: Fri, 10 June 2022 12:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09225 seconds