ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Auto​File​Name

by liamcain ALL Top 25

Sublime Text plugin that autocompletes filenames

Details

  • 2014.01.13.07.57.49
    2013.11.27.18.03.11
  • github.​com
  • github.​com
  • 8 years ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 1.47M
  • Win 1.12M
  • Mac 201K
  • Linux 147K
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 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5
Windows 235 293 313 322 317 222 233 286 301 312 286 292 219 265 293 337 304 313 290 240 256 324 283 347 332 376 249 265 357 324 349 301 360 266 235 271 311 317 335 355 254 273 376 351 363 390
Mac 37 29 30 27 30 26 21 24 23 28 24 34 17 26 29 29 29 18 30 22 20 35 31 23 28 25 22 22 29 28 35 25 31 30 26 35 36 36 30 41 25 14 33 34 30 34
Linux 21 29 28 39 25 18 23 23 33 41 26 18 27 18 25 25 23 27 32 21 31 21 21 28 29 28 17 28 30 17 27 34 22 21 28 27 27 25 24 24 19 21 18 34 23 29

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