[Qt-creator] It would be really cool if... } // comment

Orgad Shaneh orgads at gmail.com
Sat Dec 10 20:55:47 CET 2016


On Fri, Dec 9, 2016 at 8:14 PM, Jason H <jhihn at gmx.com> wrote:

> In QML we have lot of closures
> The bottom of my QML Files is always:
> ........}
> ......}
> ....}
> ..}
> }
>
> It would be cool if it could tie in with the show-whitespace feature and
> provide some decoration (not a part of the file)
>
> ........} // Row: buttonRow (id: buttonRow)
> ......} // Column
> ....}  // Flickable
> ..} //Item
> } // Rectagle
>
> I often use actual comments, but they get messed up via various
> modifications
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>

Source Insight has this feature, and it looks useful. See here
<http://www.sourceinsight.com/docs35/af915346.htm>. If I understand
correctly, the annotations are only shown for >=20 lines long blocks by
default.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20161210/898546ea/attachment.html>


More information about the Qt-creator mailing list