Open Related
Sublime Text 2/3 plugin for opening related files (e.g. test / implementation)
Details
Installs
- Total 2K
- Win 958
- Mac 751
- Linux 366
Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
OpenRelated (Sublime Text 2/3 plugin)
A plugin for quick navigation between related files (e.g. test/implementation) in awesome text editor - Sublime Text.
Instalation
Recommended way is using PackageControll package.
Or you can download the tarball and extract it to your ~/Library/Application Support/Sublime Text 2/Packages/OpenRelated
.
Configuration
Check out the default configuration: https://github.com/vojtajina/sublime-OpenRelated/blob/master/Preferences.sublime-settings
Check out example project: https://github.com/vojtajina/sublime-OpenRelated/blob/master/example
You can override this configuration per project :-D
["*/test/*spec.js", "*/lib/*.js", "/abc/d/*.py"]
- when editting
/some/test/a.spec.js
file, it will open (if file exists)/some/lib/a.js
as well as/some/abc/d/a.py
- when editting
/other/lib/b.js
, it will open/other/abc/d/b.py
and/other/test/b.spec.js
Use back slashes on Windows
["*\\tpl\\*.html", "*\\js\\*.js"]
Defining key shortcut
By default, “open_related” is mapped to CMD+T
, however you can easily change that, just add to your keymap preferences:
{ "keys": ["super+t"], "command": "open_related" }
Note, if you have multiple groups opened (split view), related file will be opened in next group.