# VSCode on Mac produce IntelliSense Errors due to missing include

**URL:** <https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, intellisense, Code, visual, question\
**Created:** [January 12, 2018, 5:22pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423 "2018-01-12T17:22:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristianAlles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChristianAlles](https://forums.unrealengine.com/u/ChristianAlles)\
**Post date:** [January 12, 2018, 5:22pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/1 "2018-01-12T17:22:10Z")

</div>

Hi,  
using visual studio code on mac will produce intellisense Errors concerning the include path:  
Example: cannot open source file “new” (dependency of “CoreMinimal”.h)

This is happening due to a missing path for include and browse in the c\_cpp\_properties.json  
At least on my mac an additional “/usr/include” is needed, since this is where the standard c++ headers are located.

Please update the generate/refresh vscode routine accordingly.

Thanks  
Christian

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [January 12, 2018, 6:16pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/2 "2018-01-12T18:16:01Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form](https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form)

Thanks

---

<div class="post-metadata">

**Author:** ![chrisdeeming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chrisdeeming](https://forums.unrealengine.com/u/chrisdeeming)\
**Post date:** [February 2, 2018, 12:19am UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/3 "2018-02-02T00:19:18Z")

</div>

Hello, was this deemed to be a bug, and are there any known workarounds?

 ![229209-qlxtotf.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/d/dcd9f49b50ad96ae67699628d1bb0d5c0ef8f653.png)

Would be nice to get Intellisense working in VS Code.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_091a89ca](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_091a89ca](https://forums.unrealengine.com/u/anonymous_user_091a89ca)\
**Post date:** [March 14, 2018, 10:47am UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/4 "2018-03-14T10:47:22Z")

</div>

Maybe the same like  
[link text](https://answers.unrealengine.com/questions/722077/vscode-intelisense-problems.html)

My workaround: add Mac specific headers in `c_cpp_properties.json`.

So we have a FEATURE REQUEST: Please give us the required include paths on macOS, when generating a VSCode-Project from the Unreal Editor.

But we will have a new problem: UCLASS(), UPROPERTY() etc. will be treated as an errors by VSCode’s intellisense.  
I think, Microsoft will have to fix that. That’s not an issue here imho.

---

<div class="post-metadata">

**Author:** ![plangton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plangton](https://forums.unrealengine.com/u/plangton)\
**Post date:** [January 10, 2019, 11:50am UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/5 "2019-01-10T11:50:14Z")

</div>

I use the following workaround.

1. click on the yellow lamp that appears next to the include line.
2. choose “Edit includePath setting”
3. add the following line in the includePath section

> “/Users/Shared/UnrealEngine/UE\_4.20/Engine/\*\*”

- “UE\_4.20” part in the path I shared with you changes depending on the engine version you are using.
- It’s a JSON file so do not forget to add a comma if there are other items in includePath

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2286fcf8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2286fcf8](https://forums.unrealengine.com/u/anonymous_user_2286fcf8)\
**Post date:** [June 1, 2019, 1:57pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/6 "2019-06-01T13:57:57Z")

</div>

The path may change with your version. My path is in the “Epic Games” folder:

/Users/Shared/Epic Games/UE\_4.22/Engine/\*\*

---

<div class="post-metadata">

**Author:** ![VOXELIUM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VOXELIUM](https://forums.unrealengine.com/u/VOXELIUM)\
**Post date:** [July 18, 2022, 6:39pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/7 "2022-07-18T18:39:38Z")

</div>

i found a great solution intellisense on VSCode for Unreal Engine.  
This works well on my intel Mac and M1

> **[GitHub - boocs/fast-header-intellisense: Uses Tag Parser Intellisense for...](https://github.com/boocs/fast-header-intellisense)**
>
> Uses Tag Parser Intellisense for header files. Contribute to boocs/fast-header-intellisense development by creating an account on GitHub.

and

> **[GitHub - boocs/fast-header-intellisense: Uses Tag Parser Intellisense for...](https://github.com/boocs/fast-header-intellisense)**
>
> Uses Tag Parser Intellisense for header files. Contribute to boocs/fast-header-intellisense development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![DhanishMA3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dhanishma3/32/465185_2.png) [@DhanishMA3](https://forums.unrealengine.com/u/DhanishMA3)\
**Post date:** [April 8, 2023, 1:28pm UTC](https://forums.unrealengine.com/t/vscode-on-mac-produce-intellisense-errors-due-to-missing-include/414423/8 "2023-04-08T13:28:07Z")

</div>

i got the solution right here :

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/9/ce907654e27dae08a056a245c123b7f98076fa38.png)[GameDev.tv – 24 Mar 21](https://community.gamedev.tv/t/include-errors-detected-in-vs-studio-code/164201/8)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/0/7d0a543395ee5990eb36a1763535e7542cabfd28.png)

### [#include errors detected in VS Studio Code](https://community.gamedev.tv/t/include-errors-detected-in-vs-studio-code/164201/8)

Could you try down grading to the latest stable release? 1.2.2? You can do that via this menu

its a very simple problem and you can fix it by simply down grading version of the C/C++ extension to 1.2.2
