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

Installs

  • Total 1.36M
  • Win 1.03M
  • Mac 192K
  • Linux 138K
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 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11
Windows 11 354 396 406 372 297 311 369 408 431 428 392 347 341 403 364 428 485 399 340 352 375 414 490 485 472 383 387 530 549 532 432 501 349 387 432 473 469 441 436 325 376 367 444 452 420
Mac 2 42 36 28 37 27 35 46 40 39 45 32 38 29 40 46 47 46 60 32 23 41 48 53 48 58 32 41 71 64 70 82 59 43 54 76 44 50 40 35 29 20 37 47 43 39
Linux 3 34 38 46 37 31 35 25 33 39 43 40 27 29 28 28 34 47 42 37 41 39 40 33 43 36 35 41 50 54 47 51 41 42 48 74 37 40 38 50 35 36 47 31 35 33

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