Community
Participate
Working Groups
The right click in the source editor doesn't change the line selection. For commands that applicable to specific line (i.e. Run to Line) in the context menu, have to left click to select particular line first before right click to bring up the context menu. It would be much easier to use if right click changes the line selection and cursor position as well as brings up the context menu just like what MS Visual Studio does.
Interesting. I haven't noticed this because I don't use the context menu very often (I prefer to use keyboard shortcuts), but you're right. I wonder if there are users who have come to rely on the current behaviour, and expect that for the currently selected line / word, they can perform an action from the context menu by right-clicking *anywhere* in the editor.
This behaviour is actually not specific to the C++ editor. It happens also in the Java editor, plain text editor, etc. That suggests the behaviour is defined by the Eclipse Platform's text editor framework, and would need to be changed there. I'm moving the bug to the Platform :: Text component accordingly.
*** This bug has been marked as a duplicate of bug 19825 ***