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

All Autocomplete

by alienhard ST2/ST3 Top 25

Extend Sublime autocompletion to find matches in all open files of the current window

Labels auto-complete

Details

  • 2017.04.11.21.19.15
  • github.​com
  • github.​com
  • 9 months ago
  • 50 minutes ago
  • 6 years ago

Installs

  • Total 622K
  • Win 340K
  • OS X 160K
  • Linux 122K
Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6
Windows 108 364 340 366 439 298 265 250 328 374 366 392 377 323 243 330 341 335 298 175 130 205 260 322 316 335 263 220 239 341 392 369 372 355 243 271 307 346 302 408 360 239 270 315 365 379
OS X 27 111 115 121 140 137 74 87 93 110 115 111 179 67 81 91 101 99 113 40 37 57 68 76 86 75 59 66 58 77 97 94 109 93 73 72 105 110 112 108 103 71 69 93 109 121
Linux 14 83 85 91 98 93 79 85 85 100 90 90 102 76 76 99 85 108 96 56 45 56 63 56 70 82 53 52 58 85 88 76 91 96 76 59 83 88 95 107 101 75 64 74 92 111

Readme

Source
raw.​githubusercontent.​com

All Autocomplete Sublime Text

Extends the default autocomplete to find matches in all open files.

By default Sublime only considers words found in the current file.

Install

If you have Package Control installed in Sublime just press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X) to open the Command Pallete. Start typing 'install' to select 'Package Control: Install Package', then search for AllAutocomplete and select it. That's it.

You can also install this package manually by entering the Packages directory of Sublime Text 2/3 and issuing on a terminal:

git clone https://github.com/alienhard/SublimeAllAutocomplete

Settings

You can disable the additional autocompletion provided by this package for specific source files and even select syntax within files. In the Sublime menu go to Preferences > Package Settings > All Autocomplete > Settings – User.

Example: the following Setting would disable All Autocomplete for CSS and JavaScript code:

"exclude_from_completion": [
    "css",
    "js"
]

The names provided in this list are matched against the so-called “syntax scope” of the currently autocompleted input. For example, in a CSS file, when you start typing a new CSS class name, the syntax scope is “source.css meta.selector.css”. The names you provide in the config above are partially matched against this scope. This means, you can completely disable All Autocomplete for all CSS code by specifying “css” – or you can disable it only for specific parts, for example, CSS selectors by specifying “selector.css”. Or to disable completion in comments, include “comment” in the list.

Note, if you want to disable it in C source, but not in CSS, add “source.c” in the list (since “c” alone would also match css).

You can find the syntax scope of code at the current cursor position with Control+Shift+P.

LICENSE

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

Copyright © 2013 Adrian Lienhard adrian.lienhard@gmail.com

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.