Fixing Sublime Text's SideBarEnhancements Plugin

Ryan Sandridge · August 23, 2021

Recently, a feature I use relatively often in my day to day use of Sublime Text, the “Open in a New Window” command stopped working. It turns out this is not a default feature of Sublime Text, but supplied by the plugin SideBarEnhancements. The issue appears to come from a change in default behavior of the subl command which now will attempt to open a directory within an open project window if one contains that directory. A fix was easy enough, which I PR’d here, but sadly appears to be unmaintained for the past couple years, so I’m not sure when the maintainer will get around to merging it.

If you want to incorporate this fix into your own installation, you can edit the two lines the same as I have. If you have the PackageResourceViewer plugin installed, it is easy enough to edit the package in place.

Twitter, Facebook