Page MenuHomePhabricator

Provide autocompletion in VisualEditor
Closed, DeclinedPublic40 Estimated Story Points

Description

Autocompletion is a nice feature that helps users to type words that occur often more quickly. While it sounds difficult to implement, VE actually makes this quite easy. I wrote a quick-and-dirty proof-of-concept user script: https://de.wikipedia.org/wiki/Benutzer:Schnark/js/veSuggestions.js Of course my script has bugs and limitations, but it shows the concept, and proves that this isn't as difficult as it might seem.

Script-Schnark-veSuggestions.png (267×454 px, 16 KB)

I think it would be great to implement such a feature directly in VE.

Event Timeline

Jdforrester-WMF set the point value for this task to 40.
Jdforrester-WMF subscribed.

Though this sounds fun, I'm unsure how we could possibly support this given that it would interfere with typing in languages which use IMEs; re-writing the CE surface is very dangerous and something we go to extreme lengths to avoid.

For now, absent a clear idea of how we would do this, I'll put it into the backlog.

Deskana closed this task as Declined.EditedAug 30 2018, 12:21 PM
Deskana subscribed.

Autocorrect and autocompletion are very nice features. That said, this is better handled by browsers, browser plugins, operating systems extensions, mobile device predictive text, and so on; they'll do a better job of it than we ever could, and all we'd be doing here is duplicating that effort.