ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Go​To​File

by gs ST2

Sublime Text Plugin for Go To File

Details

  • 2019.07.14.19.20.25
  • github.​com
  • github.​com
  • 5 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 2K
  • Win 806
  • Mac 433
  • Linux 283
May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
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:

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