Sublime Forum

Jump to Matching Bracket: an extra few lines of viewport

#1

Goto > Jump to Matching Bracket (control-M ) is an excellent feature. I often use it.

Often enough, a function in my usual language might look like

/FunctionName
{
	% Function code
} def

Or even

% Comment describing the function
% More comment describing the function
/FunctionName
{
	% Function code
} bind def

Feature request: for control-M, please could the viewport include a few lines either side of the point to which the selection jumps. Perhaps stop just before the first blank line, or the fifth line, whichever is sooner.

0 Likes

#2

You can use the "scroll_context_lines" setting to specify how many extra lines should be shown.

0 Likes