Bug 4133

Summary: EC DCR: Add line numbers to Java editor (1GIV594)
Product: [Eclipse Project] JDT Reporter: Carolyn MacLeod <carolynmacleod4>
Component: UIAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: avijayr, gavagni, gunnar, johan.walles, jose, n.a.edgar
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Carolyn MacLeod CLA 2001-10-10 23:06:36 EDT
From Eclipse Corner:  Feature request - line numbers in editor
	First of all - what a great tool you all have made. But I miss one 
	feature and that is line number in the editor. I know that I can jump to 
	a given line by using [ctrl]+l but I still think that line number would 
	be great or am I missing something??

	Additional post:
	Concur.  Just a little line,col label somewhere near the bottom.
	Alternatively, and actually preferrably, be able to toggle line numbers
	on/off in a 'prefix' area of the text widget itself.  (Anyone remember XEDIT
	:-).  I often deal with non-Java stuff, and someone or other complains about
	errors on line XXX ...

	One more post:
	Presumably this will be optional.  I (and I imagine most current/former 
	VAJ users) have no need or desire to see the line numbers.

NOTES:
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:13:50 EDT
moved to 'active'
Comment 2 DJ Houghton CLA 2001-10-29 17:33:39 EST
PRODUCT VERSION:
	R0.9

Comment 3 Erich Gamma CLA 2001-11-11 16:46:55 EST
*** Bug 4276 has been marked as a duplicate of this bug. ***
Comment 4 Dirk Baeumer CLA 2002-02-27 08:30:40 EST
According to Erich, we will look into this one
Comment 5 DJ Houghton CLA 2002-04-06 19:08:59 EST
*** Bug 12940 has been marked as a duplicate of this bug. ***
Comment 6 Brett Gavagni CLA 2002-04-24 18:08:21 EDT
*** Bug 11359 has been marked as a duplicate of this bug. ***
Comment 7 Brett Gavagni CLA 2002-04-30 11:55:25 EDT
The latest build appears to still not have this feature/defect addressed. What 
is the status of integration for this feature/defect? 
Comment 8 Kai-Uwe Maetzel CLA 2002-05-02 08:31:07 EDT
This is an uncommitted work item for 2.0. If there is time it will be added.
Comment 9 Kai-Uwe Maetzel CLA 2002-05-09 06:08:46 EDT
Java editor supports line numbers in build 20020508. Functionality is part of 
JFace Text, AbstractTextEditor subclasses can be configured to use it.
Comment 10 Brett Gavagni CLA 2002-05-14 14:49:14 EDT
How exactly is this defect/feature request resolved?

Looking at build 20020508_1022 I do notice that there is a row/col label on the 
bottom of the Java perspective that tracks the current row and col in the Java 
editor. The original defect comment was a request for the row/col label and a 
method to toggle the line number on/off similar to the manner the Eclipse XML 
editor currently supports. 

Is the toggle of line numbers similar to the XML editor supposed to be present 
or only a row/col label?
Comment 11 Brett Gavagni CLA 2002-05-30 14:13:28 EDT
In order to turn line numbering on in the editor follow the steps below: 

Window>Preferences>Java>Editor
Check "Show line numbers".