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

Details

  • 2017.04.11.21.19.15
  • github.​com
  • github.​com
  • 2 months ago
  • 22 minutes ago
  • 5 years ago

Installs

  • Total 520K
  • Win 276K
  • OS X 140K
  • Linux 105K
May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 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
Windows 187 242 292 364 378 331 356 371 237 251 326 408 398 388 371 207 213 399 382 408 413 406 262 283 353 395 431 389 292 238 248 417 402 399 374 419 232 268 356 388 391 400 390 273 297 333
OS X 68 71 89 123 118 91 144 115 75 67 111 131 127 140 155 88 69 125 159 170 149 142 83 77 109 113 132 136 134 102 95 145 145 146 149 114 77 92 151 142 140 144 181 70 92 121
Linux 71 91 79 102 117 129 110 118 61 77 125 109 119 115 115 104 68 100 111 113 117 112 72 79 110 135 131 137 115 79 82 109 148 144 158 114 81 106 113 118 117 133 129 92 102 129

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.