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
  • 13 minutes ago
  • 7 years ago

Installs

  • Total 825K
  • Win 595K
  • OS X 139K
  • Linux 90K
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 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10
Windows 8 633 705 843 1050 951 1042 867 680 669 955 1015 950 1016 1086 600 736 876 1011 961 1094 1053 564 678 826 863 887 814 906 624 611 693 795 868 843 791 582 598 700 801 781 795 762 515 615 695
OS X 1 69 77 96 120 102 104 106 89 82 95 107 99 126 117 57 93 106 96 120 125 139 54 94 94 107 119 116 93 76 72 100 132 133 97 142 76 97 95 95 135 113 108 59 72 119
Linux 1 86 86 85 101 108 101 137 70 92 87 104 112 109 115 74 84 94 93 100 99 95 82 79 75 99 108 119 83 87 72 81 95 100 112 104 50 74 108 103 91 107 101 68 61 95

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