After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793586 - Add code snippets
Add code snippets
Status: RESOLVED OBSOLETE
Product: dconf-editor
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: dconf-editor maintainer(s)
dconf-editor maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-02-19 09:17 UTC by Arnaud B.
Modified: 2019-03-20 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of Configurator. (90.51 KB, image/png)
2018-02-19 09:17 UTC, Arnaud B.
Details

Description Arnaud B. 2018-02-19 09:17:05 UTC
Created attachment 368545 [details]
Screenshot of Configurator.

I found browsing the Web a similar app designed for Elementary OS, called Configurator[1], dev’ed in 2015. One interesting thing it has is to offer some coder help as a property of a key, like:

    Command   dconf read /ca/desrt/dconf-editor/demo/string-nullable
  Vala Code   var val = new Settings ("ca.desrt.dconf-editor.Demo").get_value ("string-nullable");

While “of course” offering to read value using `dconf` is a bad idea (notably in this application, that displays in its sidebar a treeview based on *schemas*), something like that is already in `dconf-editor` with the “descriptor” of a key, that has a format more or less similar to the one of the `gsettings` tool.

And the code snippet is an interesting idea, that is maybe hard to design, but that could help some people (initial code suggestion could be in Python for example, a language that is clear to read and used by many newbies).

[1] https://launchpad.net/configurator
Comment 1 GNOME Infrastructure Team 2019-03-20 10:47:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf-editor/issues/34.