Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The rulers in Visual Studio Code only appear in files where horizontal scrolling is enabled. By default, horizontal scrolling is only enabled in settings.json. You can enable horizontal scrolling in other files by adding the following to your settings.json:

"editor.wrappingColumn": 0,
"editor.scrollBeyondLastColumn": 1

This will enable horizontal scrolling and display the rulers in other files. However, keep in mind that this may affect the performance of large files.