Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340678

Summary: Cannot navigate to declaration when cursor is position after identifier
Product: [Modeling] TMF Reporter: Mark Christiaens <mark.g.j.christiaens>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, mark.g.j.christiaens, sebastian.zarnekow, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Linux   
Whiteboard:

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