I have a function named Body in a class. When I rename the function, Visual Assist shows every sing `Body` in the code including #include "Body.h" which will obviously break the code if renamed. It is, for some reason, not respecting the fact that `Body` is a function inside a class and it should not look to rename it elsewhere.
I am not sure why this is happening, it used to work (the code-base is quite large) and is quite frustrating as this is one of most used Visual Assist features for me. I did rebuild the database. Any other suggestions?
Sorry, I cannot post the code, but I can follow any other tips to give you guys more information.
Are "Display uses in comments and strings" and "Rename in comments and strings" checked? These should control what to do with comments and strings (e.g. includes)
Yes, I check it and you are right, they are always in the list. However, as I see they're marked with ? icon and are not ticked by default. So shouldn't cause any problem. Are you seeing the same effect there?