Bug 211125 - [API] provide line number information for java elements from source
Summary: [API] provide line number information for java elements from source
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 15:37 EST by Olivier Thomann CLA
Modified: 2007-11-27 17:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2007-11-27 15:37:54 EST
It would be nice to be able to get the line number corresponding to the name of a member (type, field, method).
When I want to create a marker on a field, I can get its name range using the API on IField, but then I need to reopen the same source to retrieve the line number corresponding to the offset of the range.
Not very efficient, when the corresponding line could have been persisted when the range was computed.