Sublime Forum

Show enclosing function

#1

If this already exist, please let me know.

In sublime merge it will show me what function part of the diff is in. This would be really great info to have also in sublime text somehow. To show me what function my cursor is in. I work on a code base with stupidly large functions and I always have to scroll up a mile to find out where I’m at. Having access to that info more easily would be amazing!

1 Like

#2

Goto > GotoSymbol uses the same data as Sublime Merge to determine function definitions. By default it selects the definition that’s above your current text position, so you can easily press enter to effectively goto the function your cursor is in.

0 Likes