visual studio code is not autocompleting std:: in c++ on ubuntu
<p>The behaviour i am looking for is when i type</p>

<p><code>using std::co</code>   then i expect it to autocomplete to cout (or at least suggest)</p>

<p><code>using std::vect</code> then i expect it to autocomplete to vector</p>

<p>I have it set up on my laptop and it works perfectly fine ... it is just on my main vm that it does not. Sadly after a few hours of tinkering and googling not figured it out.</p>

<p>installed c++, build essentials, clang-format-3.8
vscode, c++ extention and c++ autocomplete.
noticed the one that worked had this added to the c_cpp_properties (not that i expected clang to help but was out of other options.)</p>

<pre><code>,
    "clang_format" : {
        "style" : "file",
        "fallback-style" : "LLVM",
        "sort-includes" : false
    }
</code></pre>

<p>I think it is probably a package difference but cannot see where that difference is. I also cannot find the difference in vscode config if there is one.</p>

<p>It also doesn't autocomplete for any included headers.</p>

<p>Infact i do not get autocompletion for <code>using</code> or <code>include</code> either.
In the one that doesnt work any autocompletion options i have shows the path into <code>/usr/include/c++/5</code> wheras on the system where it does work i do not get any path info, only an abc icon and the command i want.</p>