Ask Your Question
1

Why don't the rulers in Visual Studio Code appear in files displayed in windows other than settings.json?

asked 2022-08-23 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-01-27 00:00:00 +0000

scrum gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-08-23 11:00:00 +0000

Seen: 13 times

Last updated: Jan 27 '22