All Autocomplete
Extend Sublime autocompletion to find matches in all open files of the current window
Details
Installs
- Total 1.09M
- Win 663K
- Mac 235K
- Linux 192K
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 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 18 | 30 | 30 | 25 | 25 | 18 | 15 | 21 | 21 | 25 | 20 | 30 | 17 | 21 | 15 | 25 | 32 | 23 | 34 | 19 | 19 | 19 | 15 | 0 | 0 | 0 | 4 | 17 | 39 | 33 | 19 | 22 | 18 | 22 | 19 | 19 | 0 | 0 | 37 | 21 | 25 | 19 | 22 | 26 | 28 |
Mac | 0 | 5 | 5 | 5 | 11 | 10 | 6 | 3 | 6 | 6 | 6 | 8 | 9 | 5 | 3 | 5 | 8 | 8 | 12 | 6 | 6 | 5 | 8 | 5 | 0 | 0 | 0 | 0 | 2 | 4 | 8 | 1 | 1 | 8 | 3 | 5 | 2 | 0 | 0 | 7 | 6 | 7 | 10 | 7 | 7 | 2 |
Linux | 1 | 4 | 3 | 7 | 9 | 6 | 2 | 1 | 3 | 3 | 7 | 8 | 10 | 5 | 4 | 3 | 5 | 4 | 6 | 10 | 4 | 5 | 5 | 6 | 0 | 0 | 0 | 2 | 6 | 4 | 5 | 4 | 0 | 5 | 8 | 4 | 2 | 0 | 0 | 5 | 8 | 8 | 4 | 8 | 8 | 10 |
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.