Closed gerardroche closed 11 months ago
I assume some people would like to see it wider but just by a few pixels too, similar to the caret width.
The rulers settings is a list e.g. [80, 120]
, so maybe a rulers_width
setting could also be a list where you could define the width of each ruler or just set one size for all.
For now, you can "sort of" add ruler width: "rulers": [79.8, 79.9, 80, 80.1, 80.2]
would have a 5 size ruler
@FichteFoll not sure whether adding a with-patch
label here is appropriate
@jrappen Do you suggest to add it? Because it's currently not here and I don't see a patch/changeset that could be applied by the core devs.
@FichteFoll Saevon's last comment is a dirty hack that kinda works
That's just a workaround, not a solution.
customizing the rulers that show up when identing would be fantastic too! something like the caret settings perhaps?
Are you refering to indent guides? There are a couple settings for that, also for the color scheme.
From ST4 settings:
// Controls how the indent guides are drawn. Options may be combined, with
// valid options being:
// - "draw_normal" - will draw plain indent guides for every indentation
// group
// - "draw_active" - will draw indent guides for the group
// containing the caret in a different color
// - "draw_active_single" - will draw the right-most indent guide in the
// group containing the caret in a different color
// - "solid" - can be combined with any of the draw_* options to draw
// solid instead of stippled lines
"indent_guide_options": ["draw_normal"],
If possible, expanding these Indent Guide settings to do what the Caret settings do would be fantastic! Sadly I cannot get any of these Indent Guide settings to work on my machine, I was thrilled about the "solid" line option
Fixed it: my Color Scheme was overriding the settings somehow, got "draw_active" and "solid" to show, and its great! For Indent Guides though, additional settings like "caret_extra_top", "caret_extra_bottom", and "caret_extra_width" would be phenomenal
fyi as of 4156 you have a little more control over rulers, but as yet not size:
Current related settings
// Columns in which to display vertical rulers. You can also pair the column
// with a ruler style (See "ruler_style"), eg: [[80, "solid"]]
"rulers": [],
// Controls how ruler lines are drawn
// - "dotted": Drawn as a dotted line
// - "stippled": Drawn as a stippled line
// - "solid": Drawn as a solid line
"ruler_style": "dotted",
Build 4161 adds a "ruler_width"
setting.
I suggest adding a setting to specify the rulers width.
Currently all rulers have a width of, what assume is,
1px
.The size could be column-based i.e.
1 = 1 column
,2 = 2 columns
, etc.