Community
Participate
Working Groups
In case that for a given content-type no autocompletion providers have been supplied we can activate a simple but effective default autocompletion. This would simply split the text in words - defined as anything between non-alphanumerics - and use these as proposals provided you have a prefix. See https://imgur.com/a/VmVu1 , https://imgur.com/a/RMehK and https://imgur.com/a/cm7X6 for a quick look of how it would work. Of course this will only activate if there is no autocompletion processor provided for that content type (i.e. better than nothing).
I found out that the current proposal for word completion doesn't mix well with other completion processors. It seems like the proposals miss to implement ICompletionProposalExtension2#validate(...) method so the popup is hidden whenever there is a change (rather than continuing the completion session).
New Gerrit change created: https://git.eclipse.org/r/94443
Gerrit change https://git.eclipse.org/r/94443 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=8b0b0d544e1f4a70aafef0266f2f43e3a6c69c68
Please exclude one letter long proposals - makes no sense to see a/1/2.... proposals.
New Gerrit change created: https://git.eclipse.org/r/94565
Gerrit change https://git.eclipse.org/r/94565 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=e1010f3d804f87745414135ba639256fbb8e9284
Works fine now (single letter words excluded).