# Intellisense in C++ broken with 0.45.6 update

**URL:** <https://forum.cursor.com/t/intellisense-in-c-broken-with-0-45-6-update/46376>\
**Category:** Bug Reports\
**Created:** [January 30, 2025, 7:28pm UTC](https://forum.cursor.com/t/intellisense-in-c-broken-with-0-45-6-update/46376 "2025-01-30T19:28:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdrocha](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@fdrocha](https://forum.cursor.com/u/fdrocha)\
**Post date:** [January 30, 2025, 7:28pm UTC](https://forum.cursor.com/t/intellisense-in-c-broken-with-0-45-6-update/46376/1 "2025-01-30T19:28:06Z")

</div>

I upgraded to 0.45.6 and it created some issues (was already, on 0.45.x, 95% sure it was 0.45.5).

The issue is that Intellisense in C++ stopped working.

I am getting these types of errors in the Problems tab:  
“#include errors detected. Consider updating your compile\_commands.json or includePath. Squiggles are disabled for this translation unit (…).”

I didn’t change compile\_commands.json and I double-checked its contents are correct. However, looking at “C\_Cpp › Default: Include Path” in the Settings editor, it had changed and was now empty. This is very strange because .vscode/c\_cpp\_properties.json had _not_ changed and had the right directories in there. Seems cursor is not picking that file up for some reason?

I tried adding the include directories again in the UI, and even though they persist they don’t affect .vscode/c\_cpp\_properties.json. And what is worse they don’t fix the intellisense issue.

Any suggestions? Is there a way to downgrade back to 0.45.5 - I couldn’t figure out how.

This is what About box says:

Version: 0.45.6  
VSCode Version: 1.96.2  
Commit: 2a665be30468694ca6fd7a317310ea33eef25430  
Date: 2025-01-30T02:36:18.698Z (16 hrs ago)  
Electron: 32.2.6  
Chromium: 128.0.6613.186  
Node.js: 20.18.1  
V8: 12.8.374.38-electron.0  
OS: Darwin x64 22.6.0

---

<div class="post-metadata">

**Author:** ![fdrocha](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@fdrocha](https://forum.cursor.com/u/fdrocha)\
**Post date:** [January 31, 2025, 1:17pm UTC](https://forum.cursor.com/t/intellisense-in-c-broken-with-0-45-6-update/46376/2 "2025-01-31T13:17:14Z")

</div>

After banging my head on the wall many times, I’ve figured it out. It’s not a Cursor issue at all, it is a big in the C/C++ VS Code extension. I wasn’t seeing it VS Code because I was using an older version of the extension.

This is the bug:

> <https://github.com/microsoft/vscode-cpptools/issues/13214>
>
> \### Environment
> 
> \- OS and Version: Windows\_NT x64 10.0.22621
> \- VS Code Version: …1.96.4 (user setup)
> \- C/C++ Extension Version: 1.23.5
> 
> \<details\>
> 
> \`\`\`
> Version: 1.96.4 (user setup)
> Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
> Date: 2025-01-16T00:16:19.038Z
> Electron: 32.2.6
> ElectronBuildId: 10629634
> Chromium: 128.0.6613.186
> Node.js: 20.18.1
> V8: 12.8.374.38-electron.0
> OS: Windows\_NT x64 10.0.22621
> \`\`\`
> 
> \</details\>
> 
> \### Bug Summary and Steps to Reproduce
> 
> Bug Summary:
> After latest update, \`1.23.5\` the symlink folders not working with includes.
> 
> Steps to reproduce:
> 1. Create a Symlink Folder to a header folder
> 2. Add the symlink to the c\_cpp\_properties.json
> 3. Try to include the file from the symlink path: \`#include "test.hpp"\`
> 4. Error: cannot open source file...
> 
> Expected behavior:
> To not show error, and find the content fo the file.
> 
> \### Configuration and Logs
> 
> Output -\> C/C++
> \`\`\`shell
> Quick info operation failed: Error: Failed to find translation unit. Try opening a source file that includes this header, then re-open this header.
> \`\`\`
> 
> \### Other Extensions
> 
> \_No response\_
> 
> \### Additional context
> 
> I have an example file system like this:
> \`\`\`
> folder1
> \--file1.hpp
> \--folder2
> \----file2.hpp
> \`\`\`
> and let's say i have a symlink folder to my \`folder1\` called \`headers\`
> 
> \### example
> c\_cpp\_properties.json
> \`\`\`json
> ...
> "includePath": \[
> "${workspaceFolder}/src/",
> "${workspaceFolder}/headers"
> \],
> ...
> \`\`\`
> 
> \`\`\`cpp
> \#include "file1.hpp"
> \#include "folder2/file2.hpp"
> \`\`\`
> 
> Here the suggestion finds the \`file1.hpp\` and the \`folder2\` but does not find the file in \`folder2\`.
> Also in this example it's not using/finding the contents of the 'file1.hpp' nor the 'file2.hpp'.

Downgrading the C/C++ extension to previous version fixed it!
