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
  • 2 hours ago
  • 7 years ago

Installs

  • Total 939K
  • Win 686K
  • OS X 152K
  • Linux 101K
Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5
Windows 32 691 683 812 757 580 591 650 762 746 729 674 560 543 594 673 680 679 677 575 534 568 657 672 741 724 560 539 602 719 673 627 689 538 552 674 634 675 639 649 501 561 560 614 650 663
OS X 6 90 97 78 91 55 57 95 119 103 69 83 52 60 72 73 75 79 104 48 61 57 89 75 93 86 47 61 68 81 80 81 86 46 60 75 120 83 98 72 54 49 59 68 84 76
Linux 1 78 80 59 84 66 70 76 73 83 85 81 63 61 56 62 67 91 92 67 70 79 78 72 69 85 63 68 78 84 87 86 84 62 71 92 80 71 74 68 45 61 65 85 77 71

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