Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How do I disable the new C++ "code style"?
QtWS25 Last Chance

How do I disable the new C++ "code style"?

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stephenju
    wrote on last edited by
    #1

    I don't really like to be forced to style my code in any particular way. Or maybe I just don't want to deal with fine tuning the new "code style" settings. Or it just doesn't do what I want. Anyways. Is there a way to disable this feature?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Qt Creator always had the feature of inserting spacing, etc. for you. We need that when inserting chunks of code programmatically (e.g. when inserting snippets). Why do you suddenly not like that anymore?

      The big change was not what we do there but how you can configure it. We do have profiles now, so it is easy to switch between several styles. Maybe you managed to switch profile to something you do not like (either globally or in one of the projects)?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stephenju
        wrote on last edited by
        #3

        I've always have my editor setup to use tabs, not spaces. Now it always inserts spaces instead of tab. I finally realized it's the coding style setup overriding my editor setup. How is that working the same way?

        Basically, after upgrade the the RC, without changing anything, the behavior changed.

        Oh. And double-click selection is still broken.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          If behavior changed while upgrading, then please "file a bug report":http://bugreports.qt.nokia.com/!

          Yeap, double-click selection is a bug that is fixed in Qt 4.8. That is not released in time for Qt Creator 2.4, so we had to stick with Qt 4.7.4:-(

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved