ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Side​Bar​Tools

by braver ST3

Duplicate or compare files and copy paths from the Side Bar in Sublime Text 3

Details

Installs

  • Total 46K
  • Win 29K
  • OS X 10K
  • Linux 6K
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 9 27 14 3 26 10 27 20 50 26 21 16 17 17 13 14 24 11 16 15 19 20 22 31 22 15 11 16 13 34 30 22 23 17 11 10 14 16 28 21 19 15 21 26 21 29
OS X 11 7 10 3 10 2 5 4 3 6 20 6 1 3 2 6 5 5 4 8 6 1 7 9 8 8 5 4 6 6 12 11 6 7 3 6 5 8 6 6 4 2 5 4 10 8
Linux 8 4 7 3 4 3 9 5 4 3 3 4 3 2 3 7 7 4 5 5 4 3 3 9 5 2 3 4 4 3 4 4 12 1 3 10 13 10 4 5 2 2 1 3 4 2

Readme

Source
raw.​githubusercontent.​com

Sidebar Tools

Travis Status

Some useful tools to add to your sidebar context menu:

  • Copy Filename
  • Copy Relative Path
  • Copy Absolute Path
  • Duplicate
  • Move
  • Compare

All except Compare are also available via the command palette, in addition to:

  • Reveal In Sidebar

To use the Compare command, configure a “difftool”. For instance, Xcode comes with FileMerge that you can call via opendiff. The command will then become available when two files, or two folders are selected.

To open a file in its default application, consider installing the Open in Default Application package.

If you're looking for “Reveal in Finder/Explorer” for directories, Open in Default Application does that too.

This package offers fewer commands than e.g. SidebarEnhancements, striking a balance somewhere between the bare minimum and going overboard. This has benefits:

  • The default context menu isn't replaced, this package just adds some useful new commands.
  • It's tiny, light-weight and reliable.
  • We won't track you. Ever.

Credits

We used SidebarEnhancements as a starting point, but completely re-implemented everything we wanted to keep. Now it comes in at just over 200 lines of super clean Python with zero legacy. Special thanks go out to @rwols and @mandx to make this happen.