[Interest] Qt Creator can't find all usages of a symbol sometimes

2021-06-10 Thread Alexander Dyagilev

Hello,

Why can it be? This happens in large projects.

An example:

Utils.cpp is opened. I right clicked PersistentStatsJsonName and chose 
"Find References to Symbol under cursor". Here you can see that it has 
failed to find the reference in this opened utils.cpp file.


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt Creator can't find all usages of a symbol sometimes

2021-06-10 Thread Tony Rietwyk

Hi Alexander,

What file is the Warning at the top referring to?  My bet would be 
utils.h or utils.cpp?  Does this problem ever occur for this large 
project without the warning appearing?


If the problem tends to occur with files that have just been saved, then 
maybe the code scanner can't access the files because you have a virus 
scanner active on the project folder that kicks in shortly after any 
files are saved?


Regards, Tony


On 10/06/2021 7:47 pm, Alexander Dyagilev wrote:


Hello,

Why can it be? This happens in large projects.

An example:

Utils.cpp is opened. I right clicked PersistentStatsJsonName and chose 
"Find References to Symbol under cursor". Here you can see that it has 
failed to find the reference in this opened utils.cpp file.



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt Creator can't find all usages of a symbol sometimes

2021-06-12 Thread Alexander Dyagilev

Hello,

On 6/10/2021 2:11 PM, Tony Rietwyk wrote:


What file is the Warning at the top referring to?  My bet would be 
utils.h or utils.cpp?


Does this problem ever occur for this large project without the 
warning appearing?



Yes.

If the problem tends to occur with files that have just been saved, 
then maybe the code scanner can't access the files because you have a 
virus scanner active on the project folder that kicks in shortly after 
any files are saved?


I have Windows Defender only. I don't think it can cause such problem. 
Qt Creator would often generate write errors otherwise...






Regards, Tony


On 10/06/2021 7:47 pm, Alexander Dyagilev wrote:


Hello,

Why can it be? This happens in large projects.

An example:

Utils.cpp is opened. I right clicked PersistentStatsJsonName and 
chose "Find References to Symbol under cursor". Here you can see that 
it has failed to find the reference in this opened utils.cpp file.



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest