Solved

eclipse line numbers

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

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

695 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