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. Automatic syntax check in Qt Creator
QtWS25 Last Chance

Automatic syntax check in Qt Creator

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 997 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.
  • H Offline
    H Offline
    Hypergeek
    wrote on last edited by Hypergeek
    #1

    Is there any way to turn off auto syntax checking, and to do it only on command? Because not only is it distracting, for example, when you edit some kind of structure (and, of course, it spills with “errors” until you finish), it’s also buggy: often there are some “mistakes” (red circles) remain, when in fact they are gone. That is, I launch it - everything compiles fine. And if before this I reset the error messages - then red circles disappears and no longer show. Obvious glitch. It appears even in the simplest files in 10 lines.

    The latest version. How to disable - I have not found it anywhere. Please do not advise to change to clang code model, it's not what I need.

    aha_1980A 1 Reply Last reply
    0
    • H Hypergeek

      Is there any way to turn off auto syntax checking, and to do it only on command? Because not only is it distracting, for example, when you edit some kind of structure (and, of course, it spills with “errors” until you finish), it’s also buggy: often there are some “mistakes” (red circles) remain, when in fact they are gone. That is, I launch it - everything compiles fine. And if before this I reset the error messages - then red circles disappears and no longer show. Obvious glitch. It appears even in the simplest files in 10 lines.

      The latest version. How to disable - I have not found it anywhere. Please do not advise to change to clang code model, it's not what I need.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Hypergeek

      Help > Plugins > Uncheck Clang Code Model > Ok > Restart Creator.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • H Offline
        H Offline
        Hypergeek
        wrote on last edited by
        #3

        Thanks, this seems to be what I need. But in this case, how to simply check syntax and compile, without building or running? Debug -> Analyze current file ?

        mrjjM 1 Reply Last reply
        0
        • H Hypergeek

          Thanks, this seems to be what I need. But in this case, how to simply check syntax and compile, without building or running? Debug -> Analyze current file ?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Hypergeek
          Hi
          It should provide syntax highlighting and auto-completion on the fly. ( with the build-in module since you disable the plugin)

          but to really check syntax you must build file
          alt text

          1 Reply Last reply
          2

          • Login

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