Solved

eclipse line numbers

Posted on 2014-04-02
4
330 Views
Last Modified: 2014-04-22
Hi,

In eclipse line numbers are disappearing even though i am putting when i restart eclipse or change workspace. IS there is a way i can put line numbers permanently so that i know my code and recognize code based on line number 150 has variable defined etc

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 300 total points
ID: 39973935
In eclipse line numbers are disappearing even though i am putting when i restart eclipse or change workspace
The setting would have to be made for each workspace that you have, as there are NO global settings at all. All settings are at the workspace level or lower, ie. at project level within workspaces. But that setting SHOULD have persisted between restarts of Eclipse, or changing to a workspace and then back to a workspace where you had it set.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39975300
But that setting SHOULD have persisted between restarts of Eclipse, or changing to a workspace and then back to a workspace where you had it set.

I removed line numbers and switched to other workpace. I expected to see line numbers not there. But to my surprise i see line numbers there. Not sure my eclipse is behaving weird by not persisting the data across worksapces? please advise
0
 
LVL 7

Author Comment

by:gudii9
ID: 39976294
I removed line numbers and switched to other workpace. I expected to see line numbers not there.

when i restarted eclipse completely i see line numbers are gone.
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 200 total points
ID: 39988372
In Eclipse IDE, select “Windows” > “Preference” > “General” > “Editors” > “Text Editors” , check on the “Show line numbers” option

It will reflect all the workspace .

or

Just click code pan (right click) and in the property we get "show line number"..
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
GUI builder for Eclipse? 8 27
jar file executable 12 44
nextBoolean(double p) for Random class 3 35
java stored proc example 9 24
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now