SideBarTools
Duplicate, copy, move or compare files and folders, copy paths and filenames, all from the Side Bar in Sublime Text
Details
Installs
- Total 75K
- Win 47K
- Mac 17K
- Linux 11K
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 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 7 | 11 | 6 | 7 | 11 | 5 | 6 | 2 | 3 | 5 | 3 | 0 | 0 | 0 | 1 | 4 | 3 | 12 | 4 | 4 | 5 | 10 | 11 | 8 | 0 | 0 | 4 | 5 | 6 | 5 | 6 | 8 | 4 | 5 | 7 | 2 | 5 | 9 | 5 | 12 | 10 | 15 | 7 | 8 | 11 |
Mac | 0 | 1 | 3 | 3 | 2 | 6 | 5 | 4 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 1 | 1 | 5 | 5 | 0 | 0 | 1 | 3 | 2 | 5 | 0 | 0 | 3 | 2 | 5 | 2 | 0 | 7 | 3 | 4 | 3 | 5 | 3 | 5 | 4 | 8 | 3 | 6 | 1 | 3 | 7 |
Linux | 0 | 3 | 1 | 2 | 4 | 5 | 4 | 0 | 4 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 1 | 3 | 1 | 0 | 0 | 6 | 2 | 3 | 1 | 0 | 0 | 2 | 4 | 3 | 3 | 2 | 1 | 4 | 2 | 2 | 4 | 3 | 3 | 4 | 6 | 5 | 9 | 2 | 4 | 2 |
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.
Settings
difftool
: configure what tool to use, and thereby enable the Compare command.edit_command
: enable the Edit command.tab_context
: optionally disable the context menu on file tabs.posix_copy_command
: enable the command to copy relative paths in POSIX format, e.g. for use in WSL (Windows only).
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!