Open Related
Sublime Text 2/3 plugin for opening related files (e.g. test / implementation)
Details
Installs
- Total 2K
- Win 984
- Mac 772
- Linux 380
Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 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 | 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.