How to Set Permanent ruler in Sublime Text

If you have made use of Rulers in Sublime Text Editor, you must have seen that as you set the Ruler in one of the files or tab it is not activated for all tabs/files.

If you are an advanced user and want to have a ruler visible in each of your new tabs or files, then you can add the user settings.

  1. Open Sublime Text Editor,
  2. Go to Sublime Text -> Preferences -> Settings (on macOS, may vary for Windows users)
  3. Now in Preferences.sublime-settings file add the below with in braces: "rulers": [100]
  4. Close the tabs and you should see now each files and tabs have rulers enabled.
Permanently Set Ruler in Sublime Text Editor
Permanently Set Ruler in Sublime Text Editor

⛏️ If you do not want to have the ruler or want to change its size, follow the same steps to open Preferences.sublime-setting file and edit or remove the rulers parameter.

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 -