Duplicate or compare files and copy paths from the Side Bar in Sublime Text 3
- Total 49K
- Win 31K
- Mac 11K
- Linux 7K
|Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4||Feb 3||Feb 2||Feb 1||Jan 31||Jan 30||Jan 29||Jan 28||Jan 27||Jan 26||Jan 25||Jan 24||Jan 23||Jan 22||Jan 21||Jan 20||Jan 19||Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9||Jan 8||Jan 7||Jan 6||Jan 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.