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

Installs

  • Total 1.59M
  • Win 1.22M
  • Mac 212K
  • Linux 157K
May 17 May 16 May 15 May 14 May 13 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
Windows 26 84 86 116 81 65 65 76 95 93 99 84 66 53 87 83 68 69 98 84 72 77 98 116 120 118 79 91 80 86 117 107 90 71 66 74 114 75 92 88 82 57 63 72 70 93
Mac 2 10 15 9 6 8 8 17 10 14 13 8 11 7 7 8 10 9 14 7 6 3 8 16 14 35 8 12 13 13 15 7 8 7 11 11 4 18 22 15 12 6 4 14 7 16
Linux 8 12 10 12 9 9 4 14 14 11 13 8 11 7 8 7 10 13 13 3 13 9 11 15 15 14 7 7 15 16 16 16 12 8 14 16 18 14 10 8 10 5 10 13 9 11

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