gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

Feature request: Fold all symbols besides the changed ones #36

Open adam-stanek opened 11 years ago

adam-stanek commented 11 years ago

Feature request: Create some shortcut to automatically fold unchanged parts of document.

Usage: It can be useful when you are working with large documents and you are editing for example one function at the start of document and one in the middle. Instead of going through the document and looking for changes it would be nice to have some shortcut to automatically fold/unfold the unmodified functions if you know what I mean.

Yes of couse, you can do that manually by "find next change" (or fold it by yourself), but it could be real time saver. Sometimes it's just necessary to see both parts at once.

gornostal commented 11 years ago

It may be useful feature for someone but not for me. Therefore I don't have much motivation to implement it. Sorry. But you are welcome implement it by yourself and send a pull request :)

BTW, there are shortcuts jump_between_changes (see sublime-keymap file). Maybe those can be helpful for you.

adam-stanek commented 11 years ago

I understand. Thanks anyway for your support. I might look at it in the future but Python is not exactly language of my choice, I would attach pull request otherwise :-)

gornostal commented 11 years ago

OK. I leave this issue open.