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
  • 2 years ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 736K
  • Win 416K
  • OS X 180K
  • Linux 141K
Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 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
Windows 229 309 364 391 379 430 465 255 322 356 404 441 457 339 309 278 328 404 328 390 368 341 338 374 408 472 420 380 312 306 405 407 379 391 362 300 291 382 372 405 390 410 301 321 363 385
OS X 44 63 88 82 101 112 209 81 76 82 97 95 94 133 74 53 89 93 95 82 207 81 65 105 107 121 126 128 49 62 84 93 110 110 100 77 71 71 87 95 96 118 56 66 95 95
Linux 57 83 110 88 99 94 131 53 59 65 94 82 92 127 74 70 77 110 93 95 128 82 77 82 98 99 101 103 59 68 72 95 77 77 109 64 77 88 96 112 96 90 73 102 66 79

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.