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. Auto-complete doesn't working until I save source file.
Forum Updated to NodeBB v4.3 + New Features

Auto-complete doesn't working until I save source file.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 176 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.
  • M Offline
    M Offline
    marksiblyagain
    wrote on last edited by
    #1

    Hi,

    If I'm working on a cpp/h file pair and I make changes to the h file, I need to manually save it before auto-complete will see those changes from the cpp file.

    I'm pretty sure I didn't use to have to do this, and you don't have to do it for whatever the current file is, so I think there's something wrong here.

    I've tried 'Rebuild all' and 'Rescan project' but that doesn't help. Anything else I can try?

    Apart from that, auto-complete works pretty well for me!

    Bye,
    Mark

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This is a known issue with the new clangd-based code model. There is no fix for this, but workaround is easy: hit Ctrl+Shift+S any time you notice code model is outdated.

      (Z(:^

      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