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

Auto​File​Name

by liamcain ALL Top 25

Sublime Text plugin that autocompletes filenames

Details

  • 2014.01.13.07.57.49
    2013.11.27.18.03.11
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 13 years ago

Installs

  • Total 1.61M
  • Win 1.24M
  • Mac 216K
  • Linux 160K
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 May 21 May 20
Windows 0 40 39 44 47 39 24 39 50 29 48 49 32 35 47 42 55 43 40 31 49 41 59 42 42 55 41 37 38 34 58 40 39 39 35 41 46 50 55 43 39 43 59 55 52 58
Mac 0 9 9 5 5 3 4 14 9 12 11 6 6 4 7 10 14 8 12 5 0 8 9 9 9 7 2 3 8 6 11 8 7 10 4 8 5 10 6 15 7 6 6 20 13 13
Linux 0 9 10 10 9 4 5 6 9 8 6 4 9 5 16 7 6 7 11 5 4 7 10 14 9 7 5 7 9 8 8 4 10 7 8 8 5 9 8 4 5 4 6 10 4 4

Readme

Source
raw.​githubusercontent.​com

AutoFileName: Autocomplete Filenames in Sublime Text

Do you ever find yourself sifting through folders in the sidebar trying to remember what you named that file? Can't remember if it was a jpg or a png? Maybe you just wish you could type filenames faster. No more.

Whether your making a img tag in html, setting a background image in css, or linking a .js file to your html (or whatever else people use filename paths for these days…), you can now autocomplete the filename. Plus, it uses the built-in autocomplete, so no need to learn another pesky shortcut.

Usage

If you are looking to autocomplete an image path in an HTML <img> tag:

<img src="../|" />

Pressing ctrl+space, will activate AutoFileName. I list of available files where be ready to select.

Looking for an even more automatic and seemless completion? Add the following to your User Settings file:

"auto_complete_triggers":
[
  {
     "characters": "<",
     "selector": "text.html"
  },
  {
     "characters": "/",
     "selector": "string.quoted.double.html,string.quoted.single.html, source.css"
  }
]

With this, there's no need to worry about pressing ctrl+space, autocompletion with appear upon pressing /.