Rewrap
Rewrap copied to clipboard
[Feature Request] `rewrap.wrappingColumn` can take array
It would be nice to allow the rewrap.wrappingColumn
config to accept a list of integers like editor.rulers
. However, the reason I don't just use editor.rulers
is because I don't like the look of having a bunch of different rulers in my code window.
As far as I know, the VS Code API doesn't allow for configurations of mixed datatypes (e.g. number and array) so it may be better to define a new configuration (as to not break people's existing configurations).
In the same vein, maybe there could also be an option to "import" wrapping columns from editor.rulers
so people could use both. I'm not sure how much I'd see myself using this, but it could be nice.
Hi, if you're still wanting this, while it would be easy to support in the settings, I've found you can actually make the rulers invisible in VSCode (maybe it wasn't possible when you first filed this issue).
Just use 4 or 8 digit hex color codes with a 0 alpha channel, to make some or all rulers transparent:
"editor.rulers": [
{ "column": 80, "color": "#00000000"},
{ "column": 100, "color": "#0000"}
]
Does this achieve what you want?