Global word autocompletion for txt files
-
Hello,
I didn’t find this discussed/asked before, I’m sorry if that’s the case.
I like that Notepad++ suggests autocompletions for words that I’ve typed in the active document, and I use this a lot. However, I would really love if the words I’ve typed before would be saved to a file and suggested in new documents.
Ideally that central file should be a text file, sqlite db, or some format that can be edited by a more tech savvy user in case manual corrections need to be made to it.
Is there a way to implement this, or maybe should I try to create a feature request?
Thank you
-
This request is probably best served with a plugin. Either write your own or there are some that already exist with similar functionality, e.g. Snippets.
-
You can create an autocompletion file for Normal (plain text) using
normal.xml
. So if you really want a known list of autocompletions that goes beyond what it learns from the current document, you can use that. (It won’t automatically add to that list, butit’s thereit can be used if you want to manually add autocompletions to it)