Sublime Forum

Indent guide rely on bracket and if?

#1

I use space indent only and noticed that indents are only drawn if there’s {bracket} or if statement.
Is it possible to draw all lines base on space indent?

My settings:
“draw_indent_guides”: true,
“smart_indent”: false,
“indent_to_bracket”: false,
“indent_guide_options”: “draw_active”,
“tab_size”: 5
“auto_indent”: true,
“detect_indentation”: false,

0 Likes

#2

Hmm. indent_guide_options should look like this:

"indent_guide_options": "draw_active"]

But I’m not sure if that’s the only thing causing the issue.

0 Likes

#3

I tried both draw_normal and draw_active but no use.
Does anyone see indent guide without bracket or If statement?

0 Likes

#4

[quote=“Binocular222”]I tried both draw_normal and draw_active but no use.
Does anyone see indent guide without bracket or If statement?[/quote]

I meant that you need to put a bracket around “draw_active”. It’s a list, you see. JSON is very particular about such things.

0 Likes

#5

Oh, right, it should be “draw_normal”].
Thank you.

0 Likes