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

Auto​File​Name

by BoundInCode ST2/ST3 Top 25

Sublime Text plugin that autocompletes filenames

Details

  • 3 2014.01.13.07.57.49
    2 2013.11.27.18.03.11
  • github.​com
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 974K
  • Win 714K
  • OS X 155K
  • Linux 105K
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 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
Windows 232 424 418 503 589 581 596 586 439 511 528 614 562 573 560 460 504 519 540 580 586 561 467 496 545 571 518 549 560 458 469 606 575 643 680 607 460 514 519 658 631 628 615 529 542 599
OS X 31 34 45 48 62 73 72 80 48 54 52 56 65 60 57 56 61 73 54 73 77 70 54 52 66 64 68 69 64 52 60 70 60 88 70 78 58 62 79 74 85 87 84 51 51 73
Linux 19 52 50 53 72 80 64 68 52 56 50 57 79 75 51 57 78 71 72 79 59 103 55 65 69 66 60 72 65 56 50 73 78 68 77 72 63 63 65 64 75 63 54 62 60 84

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