TheSpyder / SyncedSideBar

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

Buggy when one file appears multiple times #26

Closed skyh closed 10 years ago

skyh commented 10 years ago

Assume we have project with this folders:

{
  "folders": [
    {
      "path": "some/big/project"
    },
    {
      "path": "some/big/project/src/tests"
    }
  ]
}

file some/big/project/src/tests/MyModuleTest.src can be found at 2 places. When file clicked from second sub-project, sidebar highlights it in first.

zipped folders structure and example project http://yadi.sk/d/9h9yAsZZN5fza

TheSpyder commented 10 years ago

This is, sadly, a sublime bug.

If you disable the plugin (either by removing it or using the "side bar: disable syncing" command), you can still replicate the issue using the same Sublime feature the plugin does - right click on the code in a file, and select "reveal in side bar".

There are a couple of places to try reporting bugs: http://www.sublimetext.com/forum/viewforum.php?f=3 (I think that's the official one, forum is down as I write this) https://github.com/SublimeText/Issues (unofficial bug tracker)