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

Fuzzy​File​Path

by sagold ST2/ST3

Autocomplete relative or absolute file paths in Sublime Text project folder

Details

  • 3 2015.06.07.10.24.08
    2 2014.11.24.13.10.08
  • github.​com
  • github.​com
  • 4 weeks ago
  • 46 minutes ago
  • 1 year ago

Installs

  • Total 4K
  • Win 2K
  • OS X 2K
  • Linux 731
Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22
Windows 7 5 7 10 11 16 12 8 7 4 13 10 9 7 16 5 6 13 14 14 11 6 5 10 10 12 10 19 6 10 4 7 7 17 7 10 11 5 14 8 14 14 11 7 6 10
OS X 3 6 5 7 5 3 10 5 5 3 5 13 7 12 9 11 5 9 11 9 7 11 6 3 6 8 8 8 5 7 2 8 3 10 8 13 4 4 9 17 12 4 11 6 6 16
Linux 0 1 5 6 1 5 3 5 2 0 1 4 4 3 10 3 2 9 6 4 11 4 2 1 1 2 4 2 5 3 2 4 8 2 7 4 3 3 1 5 2 3 2 1 1 2

Readme

Source
raw.​githubusercontent.​com

FuzzyFilePath

Sublime Text Plugin

Fuzzy search and insert filenames inside your current project directory. Highly customizable.


Basic settings support Html, Css and Javascript, but may be adjusted for every language

Installation

Package Control

After Package Control installation, restart Sublime Text. Use the Command Palette Cmd+Shift+P (OS X) or Ctrl+Shift+P (Linux/Windows) and search for Package Control: Install Package. Wait until Package Control downloaded the latest package list and search for FuzzyFilePath.

github

in <SublimeConfig>/Packages/ call: git clone https://github.com/sagold/FuzzyFilePath.git

Sublime Text 2

in <SublimeConfig>/Packages/FuzzyFilePath/ switch to Sublime Text 2 Branch with: git checkout st2

Attention: Sublime Text 2 will no longer be supported.

Usage

Filepaths will be suggested if there is a matching trigger for the current context and its property auto is set to true. For a matching trigger, filepath completions may be forced (ignoring auto property) by the following shorcuts:

  • Ctrl+Alt+Space inserts filepaths relative, overriding possible settings
  • Ctrl+Shift+Space inserts filepaths absolute, overriding possible settings

The current string may modify the suggested filepaths by the following rules:

  • word suggests all matching files by the type (relative or absolute) as specified in the matched rule
  • ./ suggests matching files within the current directory and inserts selection relative
  • ../ suggests all matching files and inserts selection relative
  • /folder suggests all matching files and insert selection absolute

FuzzyFilePath is disabled for single files or files outside the opened folder.

open file

UseAlt+Enter to open the file under cursor

Special Characters

If your projects contains filenames with special characters, consider modifying Sublime Texts word_separators.

i.e. in AngularJs filenames may start with $. In Sublime Text | Preferences | Settings - User redeclare word separators, removing $:

"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"

Customization

For further details about troubleshooting, customization, settings and keybindings please refer to the Wiki

Trying to integrate other languages? See the auto complete Python package tutorial

Related Plugins

AutoFileName
  • uses file discovery based on current directory instead of fuzzy search
  • adds properties for images in autocompletion description