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
  • 10 minutes ago
  • 13 years ago

Installs

  • Total 1.60M
  • Win 1.23M
  • Mac 214K
  • Linux 158K
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 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 35 55 51 54 67 63 66 49 39 37 61 58 59 48 51 51 57 73 78 49 51 30 46 59 41 0 0 0 6 46 72 95 41 30 61 50 51 75 0 0 59 70 56 48 72 77
Mac 7 8 8 11 7 15 13 4 8 7 11 15 10 8 6 9 8 7 11 11 9 4 6 11 7 0 0 0 0 3 7 12 7 2 10 2 6 10 0 0 9 11 6 9 6 17
Linux 3 6 10 10 4 12 7 5 4 12 10 10 14 19 6 9 13 9 11 8 14 11 6 6 4 0 0 0 1 7 8 8 8 5 10 9 12 5 0 0 14 10 11 10 6 10

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 /.