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
  • 6 years ago
  • 1 hour ago
  • 8 years ago

Installs

  • Total 1.07M
  • Win 790K
  • OS X 165K
  • Linux 114K
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 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5
Windows 715 639 480 534 595 600 660 676 610 467 495 573 654 688 662 645 476 467 601 598 643 667 649 452 525 584 652 737 630 684 513 497 651 667 761 384 689 509 651 648 682 685 812 614 481 634
OS X 63 81 46 47 60 77 78 73 62 45 42 77 84 72 65 75 61 50 75 82 81 84 62 64 49 62 65 79 89 97 36 49 67 80 67 53 94 53 76 96 84 89 117 99 59 44
Linux 54 56 49 45 59 67 50 62 62 48 55 63 66 65 76 62 53 46 74 53 57 61 71 57 53 65 72 70 80 86 49 65 70 54 80 39 58 55 58 59 55 75 64 70 60 46

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