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
  • 3 years ago
  • 31 minutes ago
  • 5 years ago

Installs

  • Total 493K
  • Win 336K
  • OS X 100K
  • Linux 57K
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 457 661 789 710 681 749 444 512 707 727 838 706 757 472 456 669 716 765 689 745 488 487 727 763 859 706 538 454 474 675 756 772 730 775 547 571 632 743 733 728 749 471 473 664 734 725
OS X 70 112 125 116 124 120 71 77 83 110 119 113 127 73 58 105 145 120 118 133 65 90 101 104 114 134 86 76 83 95 107 123 115 137 77 100 111 131 112 123 136 69 68 117 131 156
Linux 59 79 89 113 102 83 64 78 79 82 93 93 105 88 73 93 85 79 109 99 59 78 96 84 85 93 92 51 73 88 105 84 94 89 81 86 87 96 91 104 92 67 77 91 105 74

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