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

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.