Scintilla, the editing component powering Notepad++, uses an autocompletion algorithm that does not scale well to very large predefined lists of words. This is a problem if, for example, you want to autocomplete any word from the Merriam-Webster English Dictionary, which contains tens of thousands of words.
This plugin uses the trie data structure and a case-insensitive trie variant to store large numbers of words in a way that is amenable to autocompletion, albeit rather memory-intensive.
In addition, you can define different autocompletion lists for different file types. To get you started, a list of autocompletions for the PythonScript plugin is included in this repository.
dictautocomp
.dictautocomp
folder in %Appdata%\Roaming\Notepad++\plugins\config\PythonScript\scripts
Plugins->Python Script->Configuration...
from the main menu, find dictautocomp\dictautocomp.py
from the list as shown in the below image, select User Scripts
, and click the leftmost Add
button.
dictautocomp
will be on the short list of PythonScript scripts, and if desired you can add a keyboard shortcut from Macro->Modify Shortcut/Delete Macro...
from the main menu, as shown in the below image. NOTE: you will need to restart Notepad++ for dictautocomp to appear on this list.
Plugins->Python Script->dictautocomp