TheSpyder / SyncedSideBar

Sublime Text plugin to sync project sidebar (folder view) with currently active file.
341 stars 23 forks source link

[Feature request] Fold folders of inactive files #46

Closed Kristinita closed 7 years ago

Kristinita commented 7 years ago

1. Request

It would be nice, if would be possible to fold folders with inactive files.

2. Justification

If I use SyncedSideBar, all folders, include files, which I open, don't fold. Open folders makes navigation on the sidebar difficult.

3. Settings

In example, I have:

4. Actual behavior

I open SashaMarkdownLint.rb → I open Vagrantfile → both folder open for me in sidebar.

Both folder

5. Expected behavior

I open SashaMarkdownLint.rb → I open Vagrantfile → Kristinita folder fold in sidebar.

One folder

If then I open SashaMarkdownLint.rbchocolatey-test-environment folder fold for me.

Thanks.

TheSpyder commented 7 years ago

I get this request so often I'm wondering if I should put a note in the readme, or leave an open issue saying "can't do anything about it".

I would really like to offer this feature, or for the editor to to this itself. Unfortunately Sublime has no API for plugins to control the sidebar; all it has is a way to query whether the sidebar is visible, and even that is a very recent addition (build 3098).

Duplicate of #34.

Kristinita commented 7 years ago

I get this request so often I'm wondering if I should put a note in the readme, or leave an open issue saying "can't do anything about it".

@TheSpyder, before opening the issue, I check duplicates in documentation and open issues. I think, it a nice solution, that you reopen #34. Also, I think, that Known Issues section in README.MD is a good practice.

Thanks.

TheSpyder commented 7 years ago

yeah, I've reopened it now. I'll give some thought to adding a known issues section, thanks for the reminder!