How to add ruler in Sublime Text tab window

If you are a developer and you like to make use of vertical rulers to make sure your code is readable - you can make use of the Sublime Text ruler option.

Enabling Ruler in a tab is pretty easy - just go to View -> Ruler and select among the options - 70, 72, 78, 80, 100, 120. Once you select from any of the available options, you would see a horizontal line on the right side of the window - the distance will vary based on what size you select from range 70-120.

Set Ruler in Sublime Text
Set Ruler in Sublime Text

You can disable the ruler by selecting None by going to View -> Ruler.

Ruler enabled in sublime text
Ruler enabled in sublime text

How to enable ruler in Sublime Text Editor?

  1. Go to Menu option View,
  2. Go to Ruler,
  3. Select the ruler option from 70-120.
  4. Ruler should be visible.

✌️If you are an advanced user and want to permanently add a ruler to each tab you open - you can follow this tutorial.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


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 Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -