Giter VIP home page Giter VIP logo

Comments (4)

jesperhh avatar jesperhh commented on August 23, 2024

Interesting idea! I don't know the Qt Creator/Prettier source code well enough to say if that is the best way to go about it though.

Another possibility would be to improve the Qt Creator formatter - I am sure they would welcome contributions.

I don't think putting it inside this tool would make sense though, but you are more than welcome to use my tool as a starting point to get something working.

from qmlfmt.

jesperhh avatar jesperhh commented on August 23, 2024

You are more than welcome to use my tool as a starting point to get something working, but I will close this issue, as it is not something I will pursue as part of this tool.

from qmlfmt.

oltodo avatar oltodo commented on August 23, 2024

Hi @jesperhh. Thanks for your recommandation!

I've been starting to develop a new project that able us to generate an AST document from a QML file: https://github.com/oltodo/qml-parser. As you see I used your project as a starting point :-).

I'm not at a C++ developer at all so if you look at it closely you would probably be a bit scary. So if you have some advices to give I would be glad.

from qmlfmt.

jesperhh avatar jesperhh commented on August 23, 2024

I looked at a few of the new files, and I think it looks good - the only thing I noticed which looks a bit odd is that you use both #pragma once and #ifndef guards in your headers, only one of them should suffice :-)

And then once your design settles, feel free to remove my name/copyright from the files and optionally add attribution in the readme instead (or leave it out if you want).

from qmlfmt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.