Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6216757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:18:25+00:00 2026-05-24T07:18:25+00:00

Eclipse will place a light gray line on a column you choose when you

  • 0

Eclipse will place a light gray line on a column you choose when you select from Preferences > General > Editors > Text Editors and check the “Show print margin” checkbox.

If I add this line to my Checkstyle external file:

<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="150"/>

then Format (Ctrl-Shift-F) will do a good job in splitting lines before column 150.

Is there a means, such as an XML file, in which I might set the value of the text editor “Show print margin”? I would like my department to have the formatter split lines at 150 (can do) and have all Eclipse IDEs show the gray line at column 150 (don’t know how).

I have tried toggling the “Show print margin” checkbox and even checking “Show line numbers,” but I cannot find a file that Eclipse altered, in either my Eclipse executable path or my project files that reflects this change. It must to be stored somewhere: these persists across Eclipse sessions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T07:18:25+00:00Added an answer on May 24, 2026 at 7:18 am

    If you change your settings via the Preference menu, you are changing the workspace settings. The files you are looking for are therefore located in the .metadata directory of your workspace. The specific file you are looking for is

    .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
    

    This file can contain the following two lines:

    printMarginColumn=120
    printMargin=true
    

    If printMarginColumn is not present, the default seems to be 80.

    If you change the settings on a project, the file is the same but the location is in your project’s .settings directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a preference or tweak that will stop Eclipse from putting up a
I would like to detach an editor tab from eclipse and place it along
Is there a Visual Studio like plugin for Eclipse that will allow me create
I'm looking for a very specific eclipse plugin that will tell me if a
In eclipse, the m2eclipse plugin will prompt me for my credentials when I'm building
Is there an Eclipse plug-in that will allow me to graphically generate a data
I have an Eclipse RCP application that will launch properly after a clean install
I will develop a desktop application for asset tracking. I am considering Eclipse RCP
I have findbugs plugin for eclipse which when run on my project will show
I just installed the FindBugs plugin for Eclipse, with the hope that it will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.