Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator c++ editor
Forum Update on Monday, May 27th 2025

QtCreator c++ editor

Scheduled Pinned Locked Moved General and Desktop
5 Posts 5 Posters 2.6k 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.
  • M Offline
    M Offline
    marksibly
    wrote on 30 Apr 2012, 00:37 last edited by
    #1

    Hi,

    Regarding the c++ editor in QtCreator...

    Is there any way to disable the realtime wavy red underlining of lines with errors in them?

    Also, when the cursor is placed on an identifier, a little box appears around the identifier(s) - any way to disable this?

    Basically, I just want a 'plain' editor with no flashing lights/disco effects etc.

    Bye!
    Mark

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MuldeR
      wrote on 30 Apr 2012, 01:29 last edited by
      #2

      I wonder why you want to disable the advanced features of an integrated development environment?

      Highlighting the errors in your code is extremely helpful, because you will have to locate and fix these errors anyway. I can't see why you want to work without that or even find it annoying.

      Also "autocomplete" (I think this is what you are referring to with the "little box") makes writing code much faster and more convenient, once you are used to it.

      Anyway, it seems like you are a looking for a plain code/text editor rather than an IDE.

      So why not simply go with Notepad++ on the Windows platform or Gedit on the Linux platform?

      (The purist will prefer Vi/Vim, of course ^^)

      My OpenSource software at: http://muldersoft.com/

      Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

      Go visit the coop: http://youtu.be/Jay...

      1 Reply Last reply
      0
      • V Offline
        V Offline
        veeraps
        wrote on 30 Apr 2012, 03:45 last edited by
        #3

        Suggest Notepad++.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wilk
          wrote on 30 Apr 2012, 09:37 last edited by
          #4

          Hello
          Suggest Emacs.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            decadence
            wrote on 30 May 2012, 00:49 last edited by
            #5

            Hello. Seems i'm late, but maybe someone else will save a few minutes/hours.

            Qt Creator is great IDE, i prefer it even for plain C++, but the feature you mentioned is really irritating. So, use the source, it's opensource software after all.

            qt-creator-2.5.0-src\src\plugins\cpptools\cppmodelmanager.cpp:
            @ QTextCharFormat errorFormat;
            /* disable error underline
            errorFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline);
            errorFormat.setUnderlineColor(Qt::red);
            */

                    // set up the format for the warnings.
                    QTextCharFormat warningFormat;
                    /* disable warning underline
                    warningFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline);
                    warningFormat.setUnderlineColor(Qt::darkYellow);
                    */@
            
            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