All Autocomplete
Extend Sublime autocompletion to find matches in all open files of the current window
Details
Installs
- Total 1.09M
- Win 662K
- Mac 235K
- Linux 192K
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 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 32 | 32 | 21 | 38 | 40 | 25 | 27 | 31 | 32 | 24 | 31 | 29 | 27 | 35 | 41 | 18 | 25 | 34 | 33 | 28 | 38 | 25 | 25 | 29 | 36 | 36 | 35 | 36 | 34 | 26 | 32 | 19 | 30 | 38 | 29 | 23 | 18 | 10 | 36 | 35 | 22 | 24 | 21 | 28 | 16 |
Mac | 0 | 4 | 4 | 6 | 6 | 6 | 9 | 8 | 10 | 5 | 5 | 4 | 5 | 8 | 8 | 12 | 6 | 6 | 6 | 5 | 6 | 6 | 8 | 5 | 6 | 4 | 11 | 6 | 4 | 6 | 5 | 3 | 10 | 7 | 11 | 11 | 6 | 4 | 1 | 8 | 5 | 9 | 8 | 8 | 0 | 5 |
Linux | 1 | 19 | 8 | 6 | 7 | 8 | 10 | 8 | 8 | 5 | 8 | 2 | 11 | 7 | 11 | 7 | 7 | 5 | 12 | 10 | 10 | 6 | 10 | 5 | 6 | 2 | 4 | 7 | 9 | 5 | 5 | 8 | 8 | 13 | 9 | 11 | 8 | 3 | 6 | 4 | 7 | 8 | 6 | 5 | 6 | 5 |
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 completions when you're editing CSS or JavaScript code, and would not source any completions from Markdown files:
"exclude_from_completion": [
"css",
"js"
],
"exclude_sources": [
"markdown"
],
"min_word_size": 5, // don't show completions for words with fewer than this many chars
"max_word_size": 40 // don't show completions for words with more than this many chars
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
- You just DO WHAT THE FUCK YOU WANT TO.