Re: [Interest] Beautifier for QML

2017-02-08 Thread Sérgio Martins
On Sun, Feb 5, 2017 at 9:18 AM, Shantanu Tushar wrote: > (...) > Quite a lot of devs in our team are shying away from Qt/QML > because of that reason. If devs in your team are moving away from Qt/QML because of coding style reasons then you already lost them. They'll come up with another excuse o

Re: [Interest] Beautifier for QML

2017-02-08 Thread Shantanu Tushar
Hi, On Mon, Feb 6, 2017 at 11:53 AM, Shawn Rutledge wrote: > > On Feb 5, 2017, at 10:18, Shantanu Tushar wrote: > >> Hey folks, >> >> In our project we use astyle with the Qt Creator beautifier plugin, >> its quite neat for C++. I was wondering if anything similar existed >> for QML? > > Control

Re: [Interest] Beautifier for QML

2017-02-08 Thread Shantanu Tushar
Hi, On Sun, Feb 5, 2017 at 10:36 PM, Gunnar Roth wrote: > >> i I was wondering if anything similar existed >> for QML? > > 1. Look under menu extras/qml/js in QtCreator there is a format code entry. > It is a bit sad , that you cannot assign the same key combination to c++ > formatting as to qm

Re: [Interest] Beautifier for QML

2017-02-05 Thread Shawn Rutledge
On Feb 5, 2017, at 10:18, Shantanu Tushar wrote: > Hey folks, > > In our project we use astyle with the Qt Creator beautifier plugin, > its quite neat for C++. I was wondering if anything similar existed > for QML? Control-I re-indents the current line or the selection. Control-A selects eve

Re: [Interest] Beautifier for QML

2017-02-05 Thread Gunnar Roth
> i I was wondering if anything similar existed > for QML? 1. Look under menu extras/qml/js in QtCreator there is a format code entry. It is a bit sad , that you cannot assign the same key combination to c++ formatting as to qml/js formatting. You also cannot make qtc format qml/js code on sa

[Interest] Beautifier for QML

2017-02-05 Thread Shantanu Tushar
Hey folks, In our project we use astyle with the Qt Creator beautifier plugin, its quite neat for C++. I was wondering if anything similar existed for QML? Quite a lot of devs in our team are shying away from Qt/QML because of that reason. Cheers, -- Shantanu Tushar(UTC +0530) shantanu.io _