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

Installs

  • Total 588K
  • Win 409K
  • OS X 112K
  • Linux 67K
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 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 231 593 612 804 819 750 850 836 559 565 699 827 458 896 817 475 507 602 580 688 769 678 565 566 699 847 848 929 832 648 693 807 923 1007 1017 1095 688 716 963 1188 851 842 564 579 555 666
OS X 28 83 67 124 151 107 138 157 79 84 120 128 68 91 137 76 75 100 79 111 111 107 87 106 111 135 126 149 112 87 114 119 161 143 159 167 113 155 182 183 159 115 89 63 76 118
Linux 21 98 98 103 72 90 102 95 75 100 98 83 76 75 91 76 66 90 89 89 77 104 89 67 86 86 103 91 95 76 80 75 90 88 116 99 74 81 115 154 110 98 75 77 68 91

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