⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Qt Creator and Beautifier

  • We would like to associate different kind of styles to different projects. I have been looking for and Qt Creator in its new version (4) has the possibility to autoformat files on saving using Beautifier.

    My Question is if there is any way to associate for example a style file to one project to be opened when we open that project.

    That file would be in the root folder of the project and would be downloaded automatically from the repository.

  • For someone else with the same question, I have resolved it. Beautifier plugin can use different programs. I was using clangformat which for me it was the fastest. The other two (Artistic Style and Uncrustify) have the option to load the style code file from the own project and it works.

    I think I am going to finish using uncrustify because there are more examples in the internet than of the other one.

Log in to reply