[gnome-builder] plugins/editorui: add semantic highlighting tweak



commit 7c1dcec219b226e4fdc2600d1bdf659a20020541
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 18:16:18 2022 -0700

    plugins/editorui: add semantic highlighting tweak

 src/plugins/editorui/tweaks.ui | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index c6a0cef8f..c65554e65 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -7,6 +7,12 @@
         <property name="application-only">true</property>
       </object>
     </child>
+    <child>
+      <object class="IdeTweaksSettings" id="settings_org_gnome_builder_code_insight">
+        <property name="schema-id">org.gnome.builder.code-insight</property>
+        <property name="application-only">true</property>
+      </object>
+    </child>
     <child internal-child="visual_section">
       <object class="IdeTweaksSection">
         <child internal-child="appearance_page">
@@ -137,6 +143,13 @@
                             <property 
name="action-name">settings.org.gnome.builder.editor.highlight-matching-brackets</property>
                           </object>
                         </child>
+                        <child>
+                          <object class="IdeTweaksSwitch" id="editor_semantic_highlight">
+                            <property name="title" translatable="yes">Semantic Highlighting</property>
+                            <property name="subtitle" translatable="yes">Use symbol information to highlight 
namespaces, functions, and variables within source code</property>
+                            <property 
name="action-name">settings.org.gnome.builder.code-insight.semantic-highlighting</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                     <child>


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