-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability for a custom callback function to define the symbols? #35
Comments
This is technically possible, but I am also not sure how a callback function would be implemented. |
I'm not an experienced Sublime plugin author ... so I'm sure there's plenty of experience/wisdom either of us could seek (when we've got time of course)! Thanks for responding. My first thought off the top of my head is refactoring out any call to Don't know if that's really worth doing or what problems it poses. I'm sure other plugins have worked out decent systems for plugin interoperation. Thanks for your response! |
Replying to say I agree, this would be fantastic. I currently use Table of Comments to add a table of comments / guide to longer programs, but one I have to bring up via a command every time I want to see it or move through it. It would be fantastic to be able to just always have it open on the side in an Outline window! |
Would it be possible to provide a function that generates arbitrary "symbols" to this plugin so that it is not entirely reliant on the symbols list mechanism?
My reason is that the package
Comment Marks
searches for user generated "symbols" which are just comments containing a special character (eg# >
). It would be cool if one could easily plug such a plugin into this Ouline plugin without too much fuss.Perhaps any function that returns a list of
Sublime.SymbolRegion
objects would suffice?How a callback would be provided I'm not entirely sure. Thoughts?
The text was updated successfully, but these errors were encountered: