Sublime Forum

Highlight block of code

#1

Hi,

highlighting current subBlock of code and main block of code.

Like :

function()
{
********** |
********** |
********** |==> main Block in lighter bg-color
********** |
if(**********){
********** |
********** | ====> sub block in darker bg-color
}
}

darker bg-color always should be current focused block of code.

this helps when working with large single block of code with multiple sub_blocks

0 Likes

#2

I like this idea, i´d like that it be included!!

0 Likes

#3

Yeah, this is great. Coming from emacs, this is exactly something that I’d use.

0 Likes

#4

EDIT: looks like this feature has been implemented partially as github.com/mazurov/sublime-levels but looks no where as pretty as below:
Made account just to say I would love this feature. This as been done before in the BlueJ IDE http://1.bp.blogspot.com/-q1e31vFdFsE/UmjUdIdt7EI/AAAAAAAABUw/t0kfHtaYApg/s1600/bluej-mcpi-editor-lowleveldemo.png

as well as a plugin for eclipse called editbox

0 Likes

#5

i found this plugin:

sublime.wbond.net/packages/BracketHighlighter

which works quite well.

0 Likes