macOS: command + shift + P / Windows: control + P
- macOS: command + shift + P / Windows: Control + P
Type
settings.json
Select the first option "Open User Settings (JSON)"
Add a new entry at the end, save, and close the file:
"editor.rulers": [100]
Select the first option "Open User Settings (JSON)"
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.
