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

Side​Bar​Tools

by braver ST3

Duplicate, copy, move or compare files and folders, copy paths and filenames, all from the Side Bar in Sublime Text

Details

Installs

  • Total 72K
  • Win 46K
  • Mac 16K
  • Linux 10K
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 2 7 7 4 7 5 5 9 9 5 15 4 5 12 4 8 14 11 4 9 4 9 9 6 7 5 8 4 11 7 12 12 4 6 7 12 10 11 10 10 2 8 7 9 14 11
Mac 0 5 6 7 2 3 11 5 3 3 4 3 4 4 1 3 5 7 3 3 3 5 4 5 5 3 5 7 9 5 2 3 3 1 3 8 8 5 10 3 3 8 3 7 13 7
Linux 3 3 3 4 2 2 2 5 2 4 5 3 3 1 2 2 3 4 4 2 4 3 7 1 2 0 4 4 2 2 2 1 1 4 2 3 4 4 2 0 5 2 5 5 8 7

Readme

Source
raw.​githubusercontent.​com

Sidebar Tools

Some useful tools to add to your sidebar and tab context menu's:

  • Copy Filename
  • Copy Relative Path
  • Copy Absolute Path
  • Duplicate (ie. copy to a target path)
  • Move
  • Compare
  • New file

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.

An additional Edit command is available, for ease of use on touch screens (thanks @PetrKryslUCSD). Enable it via the settings.

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.

Goals of this package

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.

Buy me a coffee

☕️👌🏻

Please feel free to make a little donation via PayPal towards the coffee that keeps this labour of love running. It's much appreciated!