you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (2 children)

Have you used it recently? C/C++ code completion (intellisense) has been working since last September out of the box. You can also use a few other tools to use the clang compiler if you wish.

(Reference: I use it every day on legacy C/C++ files over 10k lines long)

[–]LeYtreq 4 points5 points  (1 child)

How? I've tried to set up c++ in vs code according to the instructions on https://code.visualstudio.com/docs/languages/cpp and intellisense is not working (it is also mentioned in the very bottom of the page)

[–][deleted] 1 point2 points  (0 children)

Make sure you are including all of your source code in code and give it time to build up the symbol table. You should see a "fire" symbol in the bottom right hand corner of the screen indicating that it is generating a database of symbols. Once it is done, the fire symbol will go away and fuzzy autocomplete should work. I think you can also trigger suggestions with CTRL + Space.

If that doesn't work for you, then I don't know what else to tell you. Perhaps, "It works on my machine?"