Auto-complete doesn't working until I save source file.
Unsolved
Qt Creator and other tools
-
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 -
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.