[gnome-builder] plugins/editorui: more tweaks



commit a307456fee0444525aa6fca7a9d743240428ec54
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 13 22:56:31 2022 -0700

    plugins/editorui: more tweaks

 src/plugins/editorui/tweaks.ui | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index eb1b5e19e..59d3b6a9a 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -150,12 +150,43 @@
             </child>
             <child>
               <object class="IdeTweaksPage" id="editor_completion_page">
-                <property name="title" translatable="yes">Auto-Completion</property>
+                <property name="title" translatable="yes">Code Completion</property>
+                <child>
+                  <object class="IdeTweaksGroup" id="editor_completion_general_group">
+                    <property name="title" translatable="yes">General</property>
+                    <child>
+                      <object class="IdeTweaksSwitch" id="suggest_code_completions">
+                        <property name="title" translatable="yes">Suggest Code Completions</property>
+                        <property name="subtitle" translatable="yes">Automatically suggest code completions 
while typing</property>
+                        <property 
name="action-name">settings.org.gnome.builder.editor.interactive-completion</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="IdeTweaksSwitch" id="select_first_completion">
+                        <property name="title" translatable="yes">Select First Proposal</property>
+                        <property name="subtitle" translatable="yes">Automatically select the first 
completion proposal when displayed</property>
+                        <property 
name="action-name">settings.org.gnome.builder.editor.select-first-completion</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
               </object>
             </child>
             <child>
               <object class="IdeTweaksPage" id="editor_snippets_page">
                 <property name="title" translatable="yes">Snippets</property>
+                <child>
+                  <object class="IdeTweaksGroup" id="editor_snippets_general_group">
+                    <property name="title" translatable="yes">General</property>
+                    <child>
+                      <object class="IdeTweaksSwitch" id="enable_snippets">
+                        <property name="title" translatable="yes">Expand Snippets</property>
+                        <property name="subtitle" translatable="yes">Use “Tab” to expand configured snippets 
in the editor</property>
+                        <property 
name="action-name">settings.org.gnome.builder.editor.enable-snippets</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
               </object>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]