Sublime Forum

Sidebar File Navigation

#1

Hi all,

I’m new to Sublime text but have come to love so many of it’s features and functions. I have built a couple packages, but I’ll admit I’m still very new to this.

Please forgive me if this has been asked before, but I searched the forums and so many packages online but couldn’t find anything. I was looking to create a package that would allow me to use the sidebar to navigate my currently open file by a keyword.

So for example…

My keyword would be “startgroup”. What I would like to do is have the sidebar dynamically load in every instance of startgroup with it’s label into the sidebar as selectable buttons that I can use to quickly jump around my file. So for example;

I have several startgroups with the labels ALPHA, BETA, OMEGA and THETA. The sidebar would show;

  • ALPHA
  • BETA
  • OMEGA
  • THETA

And if you re-order the groups in the code, it would automatically re-order itself in the sidebar. Right now I’m just trying to determine if this is even feasible or if there is a package out there that can do this.

Thank you very much!

0 Likes