Sublime Forum

Outline -> sync to cursor position -> how to?

#1

Hi All,

How is it possible to sync the Outline sidebar to the cursor in the Editor tab?

For the SideBar, there is the SyncedSideBar plugin, which does this job:
https://packagecontrol.io/packages/SyncedSideBar

Is there something similar for the Outline sidebar as well? I mean not only syncing Outline to Editor Window, but also Editor Window to Outline. Is it complicated writing such Extension?

Thank you!

0 Likes

#2

That seems like it should either be a feature built into whatever package you’re using that is providing an outline sidebar, or a feature that they could probably easily implement.

As to wether or not it’s complicated to write a plugin for Sublime, that’s a “yes and no” kind of question that relates to your overall skill level with Python and the functionality you would like the plugin to have, so it’s hard to say generically.

In this case I’m not familiar with the package you’re using, so I’m not sure what would be involved.

0 Likes

#3

Is it difficult to create a package for the Custom Outline Panel ?

I mean a package where in the Settings a User could be able define keywords (regexp), which should be grepped from the displayed file to this Custom Outline Panel? I mean a kind of auto-tagging or auto-bookmarking, which are displayed in the Custom Outline Panel… This Custom Panel should be synced in both directions …

Is this possible?

0 Likes