Sublime Forum

Highlighted indents in Sublime Text 3 like Notepad++?


I just discovered Sublime 3 and it truly is sublime (so much so that I
will pay for it). So I am making the transition from notepad++… the
issue I have at the moment is that Notepad++ has these fantastic indent
highlights which are crucial for me to see where my parent elements are.

Here is the difference…

Regrettably Sublime does not highlight the indent on the currently
selected indentation level… I can’t believe this does not come default
with the editor?

So my question is how do I enable the selected indent level to show up as say green.





BracketHighlighter does kind of that job with following plugin settings.

    // Experimental: Creates a visible bar at the beginning of all lines between
    // multiline bracket spans.
    "content_highlight_bar": true,
    // Experimental: Align the content highlight bar at the bracket indent level
    "align_content_highlight_bar": true,

But I still think that Notepad++ has better (more clear) indent guide and code folding.

1 Like


##Colors for active indent guide option



1 Like


I agree, the highlight could be better. I often find hard to see in html where the beginning/end tag pair is. I hope ST3 will get something like this.

1 Like



You can get pretty good visibility in ST with the right settings:



Here are my visibility related settings:

##@ Preferences.sublime-settings

	"always_show_minimap_viewport": true,
	"caret_extra_bottom": 3,
	"caret_extra_top": 3,
	"caret_extra_width": 1,
	"caret_style": "phase",
	"draw_minimap_border": true,
	"fade_fold_buttons": false,
	"fold_buttons": true,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"line_numbers": true,
	"match_brackets": true,
	"match_brackets_angle": true,
	"match_brackets_braces": true,
	"match_brackets_content": true,
	"match_brackets_square": true,
	"match_selection": true,
	"match_tags": true,
	"overlay_scroll_bars": "enabled",


##@ YourColorScheme.tmTheme

			<!-- Indent Guides -->




			<!-- Highlighted Brackets -->





			<!-- Document Selection -->








			<!-- Search Results -->


The only thing I can’t remember right now is the viewport fill…


If you need anything more than that, BracketHighlighter is the way to go.


I found a great post with the mini-map viewport settings I had forgotten about.

1 Like

Scroll bar slider is hard to see
Find all occurences of the selected word
inverse_caret_state foreground colour

The settings allow for a pretty good amount of customization, overall.

I just wish that quotes were included in the [ brackets | bracketContent ] scopes.

Does anyone know if that is possible?
( without a plugin )

1 Like


@fico, what is your theme/colorscheme ? It looks awesome! :slightly_smiling:



Thanks!   :grin:   It’s a custom theme + colorscheme I’ve been working on.

I’ll be releasing it on PackageControl in the near future, gotta clean up the code a bit.   I’m working on a few ST projects in parallel, and the theme release is in my backlog for now.

Def will be posting a thread @ Plugin Announcements when it’s ready.