# UE 4.27 how to fix issues in visual studio code: "red squiggles" and "Unable to resolve configuration with compilerPath C:\\Program"

**URL:** <https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488>\
**Category:** Blueprint\
**Tags:** unreal-engine, CPP, UE4-27\
**Created:** [May 28, 2022, 8:23am UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488 "2022-05-28T08:23:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilippeC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhilippeC](https://forums.unrealengine.com/u/PhilippeC)\
**Post date:** [May 28, 2022, 8:23am UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/1 "2022-05-28T08:23:04Z")

</div>

I try to update this week a game build few months ago with 4.26 + VS code with 4.27.  
And when I launch visual studio code after “refresh visual studio code project” I got these issues:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/d/10d832088c1748c061484f46231df02ac15e4cfa.png)

I found how to solve it .

-Root causes :

the json file compileCommands\_Default.json , compileCommands\_function.json and the compileCommands\_xxxx in “C:\Program Files\Epic Games\UE\_4.27.vscode” and in the directory of your project “D:\Documents\Unreal Projects"MyPoject”.vscode" : have an issue with all the ligns “command” because two double quotes are missing one before C:\Program and one after cl.exe, see below the current status:

“command”: “C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\cl.exe @“C:\Program Files\Epic Games\UE\_4.27\.vscode\compileCommands\_function\function.210.rsp””,

-Solution :  
“command”: “ **\“C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\cl.exe\”** @“C:\Program Files\Epic Games\UE\_4.27\.vscode\compileCommands\_function\function.210.rsp””,

After updating all the lines in the json files in “C:\Program Files\Epic Games\UE\_4.27.vscode” and in your project “D:\Documents\Unreal Projects"MyPoject”.vscode" , relaunch UE and **DO NOT USE** “refresh visual studio code project” otherwise all your update will disappear.

And now it is ok :

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/3/de34fb779483d5e14becdab482fc640cce9046cd.png)

---

<div class="post-metadata">

**Author:** ![iNex550](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iNex550](https://forums.unrealengine.com/u/iNex550)\
**Post date:** [July 24, 2022, 7:14pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/2 "2022-07-24T19:14:52Z")

</div>

Thank you! It was REALY helpful!

---

<div class="post-metadata">

**Author:** ![Apek\_buddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Apek\_buddy](https://forums.unrealengine.com/u/Apek_buddy)\
**Post date:** [November 6, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/3 "2022-11-06T14:42:22Z")

</div>

Do we need to do that every time we open or create a project?

---

<div class="post-metadata">

**Author:** ![PhilippeC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhilippeC](https://forums.unrealengine.com/u/PhilippeC)\
**Post date:** [November 18, 2022, 6:38pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/4 "2022-11-18T18:38:55Z")

</div>

Yes you do ! It is a bug in unreal . Windows path contains space and there are not between “…”

---

<div class="post-metadata">

**Author:** ![DaddysBestSwimr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaddysBestSwimr](https://forums.unrealengine.com/u/DaddysBestSwimr)\
**Post date:** [February 7, 2023, 4:13am UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/5 "2023-02-07T04:13:39Z")

</div>

You are my hero. The headache this has cause me the passed hour over something stupid as missing file\_path characters.

---

<div class="post-metadata">

**Author:** ![PhilippeC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhilippeC](https://forums.unrealengine.com/u/PhilippeC)\
**Post date:** [June 1, 2023, 8:17pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/7 "2023-06-01T20:17:04Z")

</div>

To solve the issue a workaround is to install unreal , visual studio, … in a directory without spaces in the name :  
“C:\ProgramFiles\EpicGames” instead of “C:\Program Files\Epic Games”,  
“C:\ProgramFiles\MicrosoftVisualStudio” instead of "C:\Program Files\Microsoft Visual Studio  
…

---

<div class="post-metadata">

**Author:** ![Ja20121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ja20121](https://forums.unrealengine.com/u/Ja20121)\
**Post date:** [September 13, 2024, 7:35am UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/8 "2024-09-13T07:35:00Z")

</div>

Hi. Same problem. Unreal Engine sample project 4.27 with Visual Studio Code (VSCode). Found this extension for VSCode  
VSCode/UE Intellisense Fixes Extension

> <https://gist.github.com/boocs/f63a4878156295b6e854cac68672f305>

ok now

---

<div class="post-metadata">

**Author:** ![Maxkgd89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxkgd89](https://forums.unrealengine.com/u/Maxkgd89)\
**Post date:** [May 29, 2025, 10:37pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/9 "2025-05-29T22:37:45Z")

</div>

Hi PhilippeC. thx for sharing. but my promblem got solution after applying this trick [https://www.youtube.com/watch?v=tRsrC6osbQs](https://www.youtube.com/watch?v=tRsrC6osbQs)  
yours I tried first but without succes.

---

<div class="post-metadata">

**Author:** ![ccouch281](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ccouch281/32/1123924_2.png) [@ccouch281](https://forums.unrealengine.com/u/ccouch281)\
**Post date:** [November 10, 2025, 9:06pm UTC](https://forums.unrealengine.com/t/ue-4-27-how-to-fix-issues-in-visual-studio-code-red-squiggles-and-unable-to-resolve-configuration-with-compilerpath-c-program/568488/10 "2025-11-10T21:06:00Z")

</div>

i was having trouble but there was 2 steps that i somehow glossed over

make sure you go to C++ extension settings and set “Intelli Sense Engine” to TagParser

> **[Setting Up Visual Studio Code for Unreal Engine | Unreal Engine 5.6...](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-code-for-unreal-engine)**
>
> How to set up Visual Studio Code as your IDE for use with Unreal Engine projects.
