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. Any way to pause clangd in Qt Creator?
Qt 6.11 is out! See what's new in the release blog

Any way to pause clangd in Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 1.1k Views 3 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    Sometimes, I'd like my CPU to focus on tasks other than updating the clangd code model (e.g. when I already know a lot of code is about to change, so building the model now only makes the room hotter).

    Is there a way to pause clangd in such situations?

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      I found a hacky solution: You can suspend the clangd thread, e.g. with process explorer. Still need to see if this has any side effects (timeouts running, ect.), so a clean solution from within Creator would be far preferred.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        asenzz
        wrote on last edited by
        #3

        Bump. I run QtCreator on an older laptop and would really like to see this option implemented.

        1 Reply Last reply
        0
        • jeremy_kJ Offline
          jeremy_kJ Offline
          jeremy_k
          wrote on last edited by jeremy_k
          #4

          Perhaps Preferences -> C++ -> Clangd -> "Use clangd"

          Asking a question about code? http://eel.is/iso-c++/testcase/

          1 Reply Last reply
          0
          • andrA Offline
            andrA Offline
            andr
            wrote on last edited by
            #5

            https://bugreports.qt.io/ is also open for feature requests like this

            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