Duplicate or compare files and copy paths from the Side Bar in Sublime Text 3
- Total 61K
- Win 40K
- Mac 13K
- Linux 8K
|Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3||Sep 2||Sep 1||Aug 31||Aug 30||Aug 29||Aug 28||Aug 27||Aug 26||Aug 25||Aug 24||Aug 23||Aug 22||Aug 21||Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10||Aug 9||Aug 8||Aug 7||Aug 6||Aug 5|
Some useful tools to add to your sidebar context menu:
- Copy Filename
- Copy Relative Path
- Copy Absolute Path
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.
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!