0

For example, in some single C++ file, the definitions shown for a simple symbol x relate to many other irrelevant includePaths: Screenshot

How could this be fixed?

SnzFor16Min
  • 113
  • 6
  • 2
    [Why should I not `#include `?](https://stackoverflow.com/q/31816095) [Why is `using namespace std;` considered bad practice?](https://stackoverflow.com/q/1452721) – Evg May 19 '20 at 07:54
  • @Evg Thanks for that notice and I know that well -- I only use it for personal convenience. What's more, the problem **still exists** even though they're not used: [Screenshot 2][1]. Now the simple local variable `i` doesn't even show up in list. [1]: https://i.stack.imgur.com/MVr37.png – SnzFor16Min May 19 '20 at 08:15
  • That was just a comment, not an answer. Personally, I don't use IntelliSense provided by Microsoft plugin, but prefer [ccls](https://github.com/MaskRay/ccls). – Evg May 19 '20 at 08:48
  • @Evg Yea... :( I've no idea what's wrong with that. I may try `ccls` if all ways are stuck. – SnzFor16Min May 19 '20 at 16:06

0 Answers0