GoToFile
Sublime Text Plugin for Go To File
Details
Installs
- Total 2K
- Win 806
- Mac 433
- Linux 283
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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 | 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
Note:
This plugin has some differences that the original: See here: https://github.com/stvkoch/sublime-text-go-to-file/compare/gs:master…master
Sublime Text Go To File
Overview
Plugin searches for a file under the cursor and opens it in new tab.
(The idea comes from Vim gf
functionality as I missed it in Sublime Text and also the script found on https://gist.github.com/jbjornson/1186126 written by @jbjornson helped a lot!)
Additional functionality - printing currently opened file path in status bar and copy it to clipboard.
Usage
Add shortcut to your keybindings:
{
"keys": ["alt+d"], "command": "go_to_file",
"keys": ["alt+i"], "command": "file_info",
"keys": ["alt+k"], "command": "file_info_short"
}
You can highlight the text using cmd+d
and press alt+d
.
Press alt-i
to get info about currently opened file.
Press alt-k
to get short info about currently opened file.
Maintainers:
- Grzegorz Smajdor (https://github.com/gs)
- Maciej Gajek (https://github.com/maltize)
Installation
Go to your Sublime Text 3 Packages
directory
- OS X:
~/Library/Application\ Support/Sublime\ Text\ 3/Packages
- Windows:
%APPDATA%/Sublime Text 3/Packages/
- Linux:
~/.config/sublime-text-3/Packages/
and clone the repository using the command below:
This version:
git clone https://github.com/stvkoch/sublime-text-go-to-file.git GoToFile
Original version without open file from class name:
git clone https://github.com/gs/sublime-text-go-to-file.git GoToFile
Note
Please open an issue at https://github.com/gs/sublime-text-go-to-file if you discover a problem or would like to see a feature/change implemented.
Big Thanks to…
@stvkoch - who improved the plugin a LOT!
Try:
- select namespace and click alt+d
- click on word of class name and click alt+d
- click on path of template file and click alt+d