Duplicate or compare files and copy paths from the Side Bar in Sublime Text 3
- Total 41K
- Win 26K
- OS X 9K
- Linux 6K
|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|
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.