You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd definitely like to see this as well -- it's the reason I asked this question about plugins changing the interface. I'd be nice if one of the options was for it to match the editor.wrappingColumn setting.
I use rulers a lot as part of a standard code format that varies slightly from language to language and filetype to filetype. I have a need to set different rulers on a per-language, per-project basis. For example, text files will wrap at 77, assembly files at 88, HTML/PHP at 124...
I'll see about making the width and color configurable, and try making a PR this weekend.
I think Kroc's idea could be done by an extension that switches settings based on what file type is open. That would allow for all types of settings to be changed, including the ruler width.
I believe that a broad range of feature requests for VSCode fit into the bracket of persisting configuration choices on a per-project basis (word-wrap, tab-settings, rulers &c.), so that code formatting standards can be carried from user to user. No editors currently do this comprehensively enough, and I would opt for VSCode over Atom / Notepad++ if I could ensure that people who access my code would get the same tabs/rulers as I use (which I should stress, vary from one filetype to another).
That however, is a different bug/issue; for basic ruler support, a custom width option is crucial. Multiple rulers is nice, but not critical (an extension could handle this). A lot of people like to combine the ruler with the word-wrapping options, so you have to be careful of the complexities that creates. Again, per file-type ruler widths is a feature no other editor has.
Not sure if this is the right place to ask, but is there an easy way to customize the style of the rulers, e.g. using a dotted or dashed line instead of a solid line?
Activity
bpasero commentedon Dec 28, 2015
alexandrudima fyi
tucker-m commentedon Dec 28, 2015
I'd definitely like to see this as well -- it's the reason I asked this question about plugins changing the interface. I'd be nice if one of the options was for it to match the
editor.wrappingColumnsetting.Kroc commentedon Dec 29, 2015
I use rulers a lot as part of a standard code format that varies slightly from language to language and filetype to filetype. I have a need to set different rulers on a per-language, per-project basis. For example, text files will wrap at 77, assembly files at 88, HTML/PHP at 124...
tucker-m commentedon Dec 30, 2015
Adding this div below the
.view-overlaysdiv seems to do it:I'll see about making the width and color configurable, and try making a PR this weekend.
I think Kroc's idea could be done by an extension that switches settings based on what file type is open. That would allow for all types of settings to be changed, including the ruler width.
Kroc commentedon Dec 31, 2015
I believe that a broad range of feature requests for VSCode fit into the bracket of persisting configuration choices on a per-project basis (word-wrap, tab-settings, rulers &c.), so that code formatting standards can be carried from user to user. No editors currently do this comprehensively enough, and I would opt for VSCode over Atom / Notepad++ if I could ensure that people who access my code would get the same tabs/rulers as I use (which I should stress, vary from one filetype to another).
That however, is a different bug/issue; for basic ruler support, a custom width option is crucial. Multiple rulers is nice, but not critical (an extension could handle this). A lot of people like to combine the ruler with the word-wrapping options, so you have to be careful of the complexities that creates. Again, per file-type ruler widths is a feature no other editor has.
Kind regards,
Kroc Camen.
Tyriar commentedon Jan 23, 2016
I prefer to have 80, 100 and 120 set up as rulers in my editors. Multiple rulers would be handy.
jamiebarrow commentedon Aug 3, 2017
Not sure if this is the right place to ask, but is there an easy way to customize the style of the rulers, e.g. using a dotted or dashed line instead of a solid line?