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 43K
  • Win 27K
  • OS X 10K
  • Linux 6K
Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12
Windows 1 14 12 9 7 13 21 9 10 13 10 9 14 29 16 22 24 12 7 16 20 19 22 26 9 8 17 14 23 14 15 13 9 23 17 21 24 16 21 10 17 17 15 8 16 11
OS X 1 7 11 1 4 3 11 4 1 8 2 5 6 7 6 10 9 5 5 6 2 7 7 8 1 2 0 3 6 6 2 4 5 3 8 6 9 8 2 5 6 5 7 10 3 2
Linux 0 3 5 1 5 7 4 5 6 4 2 6 9 6 5 7 6 4 1 3 3 1 3 8 1 4 5 5 1 4 3 1 1 6 8 12 5 5 3 2 5 3 5 1 4 5

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.