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 738038 - Builder needs an auto-indent engine for XML
Builder needs an auto-indent engine for XML
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: editor
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-06 22:59 UTC by Christian Hergert
Modified: 2014-10-17 05:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
auto-indent: add a rudimentary xml indenter (13.62 KB, patch)
2014-10-17 05:21 UTC, Christian Hergert
committed Details | Review

Description Christian Hergert 2014-10-06 22:59:33 UTC
We need an auto-indenter that can handle auto-indent/unindent.

We already have GbSourceAutoIndenter abstract class. We just needs an implementation to handle this.

Currently, there is one for C, that can serve as an example of how to use the API.

This is a good self-contained task if someone wants to start contributing to Builder.
Comment 1 Christian Hergert 2014-10-17 05:21:31 UTC
Created attachment 288717 [details] [review]
auto-indent: add a rudimentary xml indenter

Emphasis on the rudamentary.