AutoFileName
Sublime Text plugin that autocompletes filenames
Details
Installs
- Total 1.61M
- Win 1.24M
- Mac 215K
- Linux 159K
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 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 41 | 28 | 52 | 50 | 89 | 93 | 34 | 32 | 64 | 49 | 56 | 78 | 57 | 50 | 44 | 43 | 51 | 61 | 66 | 44 | 47 | 49 | 76 | 84 | 92 | 52 | 58 | 38 | 50 | 56 | 60 | 58 | 60 | 42 | 30 | 47 | 46 | 72 | 43 | 57 | 56 | 47 | 44 | 54 | 72 |
Mac | 5 | 5 | 5 | 5 | 9 | 22 | 22 | 7 | 8 | 9 | 18 | 18 | 15 | 13 | 6 | 6 | 13 | 3 | 12 | 5 | 13 | 6 | 13 | 35 | 25 | 7 | 12 | 10 | 9 | 3 | 11 | 5 | 10 | 7 | 7 | 4 | 11 | 11 | 10 | 11 | 13 | 11 | 7 | 5 | 5 | 10 |
Linux | 2 | 9 | 13 | 10 | 12 | 12 | 9 | 6 | 9 | 16 | 10 | 6 | 7 | 4 | 7 | 7 | 5 | 10 | 11 | 17 | 13 | 6 | 6 | 11 | 8 | 8 | 10 | 10 | 5 | 8 | 7 | 9 | 6 | 10 | 6 | 7 | 6 | 14 | 13 | 10 | 11 | 7 | 9 | 12 | 10 | 7 |
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 /.