Solved

eclipse line numbers

Posted on 2014-04-02
4
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jboss wildfly 10.1 10 415
spring maven example issues 3 38
JDBC performance 8 28
Hibernate Inheritance Strategy for Abstract Base class and two concrete classes 3 17
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…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

763 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