SideBarTools
Duplicate, copy, move or compare files and folders, copy paths and filenames, all from the Side Bar in Sublime Text
Details
Installs
- Total 76K
- Win 48K
- Mac 17K
- Linux 11K
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 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 9 | 11 | 0 | 1 | 7 | 7 | 4 | 7 | 4 | 3 | 11 | 10 | 3 | 5 | 10 | 8 | 8 | 5 | 8 | 7 | 8 | 11 | 6 | 6 | 3 | 8 | 6 | 4 | 6 | 6 | 1 | 6 | 7 | 4 | 10 | 16 | 9 | 7 | 2 | 6 | 8 | 5 | 7 | 4 | 4 |
Mac | 0 | 3 | 7 | 2 | 0 | 0 | 0 | 3 | 6 | 6 | 3 | 2 | 3 | 3 | 2 | 7 | 4 | 3 | 3 | 4 | 5 | 9 | 7 | 10 | 4 | 5 | 2 | 2 | 6 | 3 | 3 | 0 | 3 | 3 | 5 | 9 | 5 | 3 | 3 | 5 | 9 | 4 | 2 | 7 | 5 | 4 |
Linux | 1 | 0 | 0 | 2 | 4 | 2 | 2 | 0 | 2 | 4 | 0 | 2 | 1 | 0 | 2 | 3 | 2 | 4 | 0 | 3 | 0 | 3 | 4 | 5 | 3 | 2 | 2 | 0 | 2 | 1 | 3 | 1 | 3 | 2 | 4 | 3 | 7 | 2 | 6 | 4 | 1 | 7 | 3 | 2 | 2 | 4 |
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!