[gnome-builder/wip/gtk4-port: 667/1774] plugins/editorui: add toggle for select-first-completion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 667/1774] plugins/editorui: add toggle for select-first-completion
- Date: Mon, 11 Jul 2022 22:31:19 +0000 (UTC)
commit 4ff60e900305fc181ade189489ceea4f804f4290
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 20 14:52:55 2022 -0700
plugins/editorui: add toggle for select-first-completion
src/plugins/editorui/gbp-editorui-preferences-addin.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/editorui/gbp-editorui-preferences-addin.c
b/src/plugins/editorui/gbp-editorui-preferences-addin.c
index 23e07ed3b..9cc90547e 100644
--- a/src/plugins/editorui/gbp-editorui-preferences-addin.c
+++ b/src/plugins/editorui/gbp-editorui-preferences-addin.c
@@ -79,11 +79,16 @@ static const IdePreferenceItemEntry items[] = {
N_("Use cursor position to highlight matching brackets, braces, parenthesis, and more"),
"org.gnome.builder.editor", NULL, "highlight-matching-brackets" },
- { "insight", "completion", "interactive-completion", 10, ide_preferences_window_toggle,
+ { "editing", "completion", "interactive-completion", 10, ide_preferences_window_toggle,
N_("Suggest Completions While Typing"),
N_("Automatically suggest completions while typing within the file"),
"org.gnome.builder.editor", NULL, "interactive-completion" },
+ { "editing", "completion", "select-first-completion", 20, ide_preferences_window_toggle,
+ N_("Select First Completion"),
+ N_("Automatically select the first completion without activating it"),
+ "org.gnome.builder.editor", NULL, "select-first-completion" },
+
{ "keyboard", "movement", "smart-home-end", 0, ide_preferences_window_toggle,
N_("Smart Home and End"),
N_("Home moves to first non-whitespace character"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]