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
  • 9 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 1.52M
  • Win 1.16M
  • Mac 205K
  • Linux 150K
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 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25
Windows 68 234 240 248 208 193 210 224 237 209 231 238 198 179 220 208 233 225 241 188 200 204 245 251 248 269 186 206 226 258 222 253 244 207 219 198 247 255 233 241 213 179 201 221 242 273
Mac 13 18 28 30 18 22 25 27 24 21 34 32 19 22 17 21 20 26 28 21 17 27 28 30 34 33 21 19 17 39 31 20 23 22 17 25 34 33 28 19 21 28 26 33 33 38
Linux 4 21 12 23 21 15 18 15 19 14 19 20 16 13 20 22 17 21 21 19 12 25 27 25 17 22 27 19 17 30 15 21 25 26 14 14 27 23 18 17 22 24 23 17 19 20

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