GNOME Bugzilla – Bug 780687
word completion: Add user-defined minimum word size functionality
Last modified: 2017-03-30 05:42:20 UTC
Created attachment 348939 [details] Gedit's minimum word size In gedit, you can set the minimum word size for word complete functionality. It can be easily integrated in Builder as well. It simple but will take some thoughts for its UI design. Attaching gedit's screenshot for reference
This should be a fairly straightforward addition to libide/preferences/ide-preferences-builtins.c (and associated GSetting in data/gsettings). The relative code to change is in libide/buffers/ide-buffer-manager.c:1552 where it creates the IdeCompletionWords. It will need a GSettings binding for the same key that goes into preferences.
Created attachment 348968 [details] [review] preferences-editor: Add user-defined minimum word functionality
Review of attachment 348968 [details] [review]: LGTM, excellent work!
Pushed with a small change to put the preference near the "enable word completion" switch.