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. Problem with auto indent driving me crazy
Qt 6.11 is out! See what's new in the release blog

Problem with auto indent driving me crazy

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 2.1k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    nikosd
    wrote on last edited by
    #1

    Hello there!

    I am a student currently practicing with C and C++ and so far the QT creator is my favourite tool to qrite my code.
    I have a weird problem though. It used to auto- indent the source code like that:

    @int main (void) {
    int a=0, b=0;
    ...
    if (a=3){@

    would become
    @int main (void){
    int a = 0, b = 0;
    ...
    if (a = 3)@

    which is way better than the first one! Also when I typed something like ('text') a green cursor would appear outside of the ) and if i hit enter while writing it'd automatically go the ).

    For some reason it does not auto-indent my code like that anymore nor does it move my cursor automatically to the end. Did I set something wront without knowing it? I dont remember changing anything at all! Please help me, it' s driving me crazy!

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nikosd
      wrote on last edited by
      #2

      or maybe is there a way to reset ALL the settings back to default in case I messed something up? thank you very much again :)

      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