Home Download Buy Blog Forum Support

Best way to block bookmarking?

Best way to block bookmarking?

Postby Leech on Tue Mar 12, 2013 10:57 pm

I've pretty large javascript files, well organized, but it's a pain to navigate to each part by using the minimap or search (text or symbols).

I would love some kind of bookmarks browsing, so I can bookmark specific parts, and then with a shortcut search those bookmarks. Does exists a plugin like that?

Or how do you work with large files?

(Splitting file is not a choice)
Leech
 
Posts: 2
Joined: Tue Mar 12, 2013 10:53 pm

Re: Best way to block bookmarking?

Postby jbjornson on Wed Mar 13, 2013 9:33 am

You might want to try out this plugin:
https://github.com/alehandrof/BetterGoTo

Specifically "Comment Bang.tmPreferences", which makes comment that starts with a ! (bang / exclamation point) be displayed in the symbol list (ctrl+r).
jbjornson
 
Posts: 347
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Best way to block bookmarking?

Postby robertcollier4 on Wed Mar 13, 2013 9:53 am

MarkFromFindpanel - Bookmark lines from find panel
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Best way to block bookmarking?

Postby jbjornson on Wed Mar 13, 2013 9:59 am

robertcollier4 wrote:MarkFromFindpanel - Bookmark lines from find panel


The only "problem" with MarkFromFindpanel (and also MarkLinesContaining) is that the results will not be persisted if you close the file (or restart SublimeText), since bookmarks are not persisted by SublimeText.
jbjornson
 
Posts: 347
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Best way to block bookmarking?

Postby robertcollier4 on Wed Mar 13, 2013 10:07 am

jbjornson wrote:The only "problem" with MarkFromFindpanel (and also MarkLinesContaining) is that the results will not be persisted if you close the file (or restart SublimeText), since bookmarks are not persisted by SublimeText.

Haven't tried it, but this may be relevant.
http://sublimetext.userecho.com/topic/3 ... rovements/
The Buffer Scroll plugin supports bookmark saving: https://github.com/titoBouzout/BufferScroll#readme
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Best way to block bookmarking?

Postby Leech on Wed Mar 13, 2013 12:47 pm

Thanks for your suggestions.

Yes, none of them are a complete good solution.
Best solution here is the BetterGoTo, but still, you need to modify your file to just enable a functionality that may only be used by yourself, in a multiple coders project it's not a possibility.

Will continue searching, and probably think on work in a new plugin for that.
Leech
 
Posts: 2
Joined: Tue Mar 12, 2013 10:53 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 15 guests