Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340678 - Cannot navigate to declaration when cursor is position after identifier
Summary: Cannot navigate to declaration when cursor is position after identifier
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 12:18 EDT by Mark Christiaens CLA
Modified: 2017-09-19 18:11 EDT (History)
4 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Christiaens CLA 2011-03-22 12:18:41 EDT
I cannot navigate to the declaration of an identifier (using keyboard shotcut F3)  if my cursor is positioned right after the identifier.  Of course, it does work as expected when the cursor is positioned inside the identifier.  In JDT, navigation also works when just after the identifier.  Since Xtext seems to want to mimic JDT, I guess this is a bug. 

I'm using Eclipse 3.6R2, Xtext 2.0M6.
Comment 1 Jan Koehnlein CLA 2011-03-23 13:22:14 EDT
Same as #333657. We should fix the EObjectAtOffsetHelper.
Comment 2 Jan Koehnlein CLA 2011-03-26 18:41:43 EDT
Fixed on HEAD.
Comment 3 Karsten Thoms CLA 2017-09-19 18:01:29 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 18:11:50 EDT
Closing all bugs that were set to RESOLVED before Neon.0