Skip to main content
deleted 2 characters in body
Source Link
Abhijit Sarkar
  • 25.2k
  • 23
  • 136
  • 251
  1. macOS: command + shift + P / Windows: control + P

    • macOS: command + shift + P / Windows: Control + P
  2. Type settings.json

enter image description here

  1. Select the first option "Open User Settings (JSON)"

  2. Add a new entry at the end, save, and close the file:

    "editor.rulers": [100]
    
  1. Select the first option "Open User Settings (JSON)"

  2. Add a new entry at the end, save, and close the file:

    "editor.rulers": [100]
    

100 is the maximum column width used in this example. This will show a ruler at column 101.

To show multiple rulers, just add more values to the list separated by commas. To show each ruler in a different color, see some of the other answers.

    • macOS: command + shift + P / Windows: Control + P

enter image description here

  1. Select the first option "Open User Settings (JSON)"

  2. Add a new entry at the end, save, and close the file:

    "editor.rulers": [100]
    

100 is the maximum column width used in this example. This will show a ruler at column 101.

To show multiple rulers, just add more values to the list separated by commas. To show each ruler in a different color, see some of the other answers.

  1. macOS: command + shift + P / Windows: control + P

  2. Type settings.json

enter image description here

  1. Select the first option "Open User Settings (JSON)"

  2. Add a new entry at the end, save, and close the file:

    "editor.rulers": [100]
    

100 is the maximum column width used in this example. This will show a ruler at column 101.

To show multiple rulers, just add more values to the list separated by commas. To show each ruler in a different color, see some of the other answers.

Source Link
Abhijit Sarkar
  • 25.2k
  • 23
  • 136
  • 251

    • macOS: command + shift + P / Windows: Control + P

enter image description here

  1. Select the first option "Open User Settings (JSON)"

  2. Add a new entry at the end, save, and close the file:

    "editor.rulers": [100]
    

100 is the maximum column width used in this example. This will show a ruler at column 101.

To show multiple rulers, just add more values to the list separated by commas. To show each ruler in a different color, see some of the other answers.