Solved

eclipse line numbers

Posted on 2014-04-02
4
326 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

760 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

22 Experts available now in Live!

Get 1:1 Help Now