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