[gnome-builder] plugins/editorui: add some settings for languages
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/editorui: add some settings for languages
- Date: Sun, 14 Aug 2022 19:35:31 +0000 (UTC)
commit 34b15ff25e2f95af59ad8191a69815cfeb6249a2
Author: Christian Hergert <chergert redhat com>
Date: Sun Aug 14 12:35:26 2022 -0700
plugins/editorui: add some settings for languages
src/plugins/editorui/tweaks.ui | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 3d8d9296d..54c0f8d2c 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -246,6 +246,32 @@
</binding>
</object>
</child>
+ <child>
+ <object class="IdeTweaksGroup" id="language_general_group">
+ <property name="title" translatable="yes">General</property>
+ <child>
+ <object class="IdeTweaksSwitch" id="trim_whitespace">
+ <property name="title" translatable="yes">Trim Trailing Space</property>
+ <property name="subtitle" translatable="yes">Upon saving, trailing whitepsace
from modified lines will be trimmed</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.language.trim-trailing-whitespace</property>
+ </object>
+ </child>
+ <child>
+ <object class="IdeTweaksSwitch" id="overwrite_braces">
+ <property name="title" translatable="yes">Overwrite Braces</property>
+ <property name="subtitle" translatable="yes">Overwrite closing braces, brackets,
parenthesis, and quotes</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.language.overwrite-braces</property>
+ </object>
+ </child>
+ <child>
+ <object class="IdeTweaksSwitch" id="insert_matching_braces">
+ <property name="title" translatable="yes">Insert Matching Brace</property>
+ <property name="subtitle" translatable="yes">Insert matching character for
braces, brackets, parenthesis, and quotes</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.language.insert-matching-brace</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]