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!

Recent Posts:

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, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.