开发者

Text editor with autocomplete while typing normal text

There's a lot of Text editors which support autocomplete during programming, but I want one which can autocomplete while typing normal text as I see a lot of repetition of words I type. Any emacs fa开发者_开发技巧ns who have implemented this ?


Try the builtin dabbrev-expand; it's bound to M-/.

Also see Predictive Mode if you fancy the more flashy stuff.


pabbrev-mode (predictive abbreviation) works by examining previously written text. Unlike dynamic abbreviation, the text is analyzed during idle time (which enables quick lookup of potential abbreviations). Pabbrev looks at word frequency to suggest the most common expression.

From the documentation, this is what it might look like as you typed the keys pred.

p[oint]
pr[ogn]
pre[-command-hook]
pred[ictive]


I love hippie-expand!


The Zeus editor has a non-programming auto complete feature (i.e. Alt + Space) that takes the current user input, searches the current file for words starting with that input and displays them in a drop down list.


vim has such a feature http://vim.wikia.com/wiki/VimTip4

i think ultra edit has a simmilar feature


You could set up auto-complete mode with a dictionary as your source. I have been very tempted to do this myself.


predictive-mode auto-completes from a dictionary of words. It learns which words you use most often, and can also automatically learn new words as you type if desired.

It's very fast, fast enough that turning on auto-completion doesn't cause any noticeable lag when typing, even with a large dictionary.

(Disclaimer: I'm the author of predictive-mode)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜