Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344679 - [Browser] "Synchronize with source code"
Summary: [Browser] "Synchronize with source code"
Status: NEW
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P5 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 05:43 EDT by Nicolas Bros CLA
Modified: 2011-09-28 16:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-05-04 05:43:15 EDT
I think the action "Synchronize with source code" is a misnomer. From the name of the action and its associated icon, I expected it to work like the Eclipse outline or "Link with Editor" in the Package Explorer. That is, a single click in the model editor would have highlighted the source code in the code editor, and a double-click would have opened the source file and selected the range.

But it doesn't work this way: it does nothing on single-click, and the option actually controls whether double-clicking will open the properties view or a code editor.

So, I think it should be named something like "Open in source editor on double-click". It's a bit of a long name for a menu entry though. So maybe just "Open source on double-click".
Comment 1 Nicolas Guyomar CLA 2011-05-04 05:52:29 EDT
Hi Nicolas

+1 for "Open source on double-click"

A single-click action to navigate from the model explorer to the source code editor seemed far too invasive at the time I did this action.
Comment 2 Fabien Giquel CLA 2011-05-04 07:58:52 EDT
I agree that the label & icon does not fit the real action.
"double-click" word in one label seems weird to me. It may be "Enable Navigation to Source Code".
Comment 3 Nicolas Bros CLA 2011-05-04 08:11:37 EDT
> It may be "Enable Navigation to Source Code".

Thing is, the navigation to source code is always enabled and accessible by right-clicking and choosing "Browse code in Text Editor".

Since the only purpose of the action is to change the behavior of the double-click, "Open source on double-click" doesn't seem too strange to me.