[Eclipse] Enable or Disable print margin line

If you want to enable print margin line in Eclipse IDE, follow the below steps,

Eclipse Show Line Numbers using Window Menu Option
Eclipse Show Line Numbers using Window Menu Option
  1. Open any file in Eclipse IDE.
  2. Now go to Menu Option Windows.
  3. Go to Preferences.
  4. Now go to General → Editors → Text Editors.
  5. Select the Check box: "Show Print Margin".
  6. Now any file you see you should see a vertical line as print margin, un-check if you want to disable this margin line.

⚠️ You can adjust the print margin to any numeric value between 20-200 (default value is 80)


  • The print margin line is very useful and should be included as a setup process before using eclipse.
    23 Sep 2020 16:09:05 GMT
  • Further comments disabled!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.