Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

VSCode on Mac produce IntelliSense Errors due to missing include

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

Product Version: UE 4.18
more ▼

asked Jan 12 '18 at 05:22 PM in Bug Reports

avatar image

6 1 1 1

avatar image Sean L ♦♦ STAFF Jan 12 '18 at 06:16 PM


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.



avatar image chrisdeeming Feb 02 '18 at 12:19 AM

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

alt text

Would be nice to get Intellisense working in VS Code.

qlxtotf.png (89.0 kB)
avatar image unoctanium Mar 14 '18 at 10:47 AM

Maybe the same like link text

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.

I opened a ticket here:


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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


  • "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

more ▼

answered Jan 10 '19 at 11:50 AM

avatar image

357 17 20 31

avatar image LucianThorr Jun 01 '19 at 01:57 PM

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

/Users/Shared/Epic Games/UE_4.22/Engine/**

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question