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

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.