Search code examples
c++visual-studio-codeintellisense

Trouble getting suggestions in vs code


I am learning c++ code and using vs code as IDE. It was going good but now I am not getting suggestion when I write my code. I am using C/C++ extension by intellisense. I tried reinstalling it, resetting its settings but nothing worked. Please help.

This is the only suggestion it shows when I type #include:

suggestion


Solution

  • You need to save(cmd+s / ctrl+s) the file in order for intellisense to work.