Fixes for Marketplace(Linux) and VS Code intellisense fix

Yes workaround for missing compiler path has been added in 1.2.0-insiders2
But there was an upstream Unreal Engine commit as well: https://github.com/EpicGames/UnrealEngine/commit/c3785db9c96ac0790df09a6b184f2b1d7e8b6802
I am pulling this commit to see if it fixes it, if yes the fix should be in next Unreal Engine patch release as well.

Neither of these fixes are working for me on a Mac.

Iā€™ve tried the find and replace method and creating a settings.json with the appropriate Mac hierarchy as suggested in this thread.

VSCode output console returns:

Unable to resolve configuration with compilerPath """cl.exe".  Using "/usr/bin/clang" instead.

Two quotation marks appear before the ā€œcl.exeā€ where they werenā€™t before. The second method does nothing as far as I can tell.

Incidentally, I switched from Xcode to VSCode because I could not get code auto-complete to work there either.

The recent bugs effected multiple IDEā€™s not just VS Code but VS Code has a large community on gamedev.tv and thats why talks are in that contextā€¦ However as VS Code is opensource we can reach developers more easily.

  1. What is your engine version ? and also your vscode versionā€¦ so that I can help you better.
  2. First Try installing this extension in your vscode https://gist.github.com/boocs/f63a4878156295b6e854cac68672f305
  3. You donā€™t have to do both workarounds as the second one will overwrite the first one with a totally different intellisense handling. the find and replace all method is suggested. This is the video for that workaround https://www.gamedev.tv/courses/learn-unreal-engine-c-developer-4-22-for-video-game-development/lectures/17467871
  4. The 4.25 intellisense fix by ā€œgit applyā€ is only meant to be used if you have engine built by source which is mostly on Linux.

Iā€™m using VSCode 1.53 and Unreal 4.26.1.

It looks like installing the extension is unsupported on 4.26.1. Sad face. :frowning:

I might just bite the bullet and downgrade until this gets fixed.

Most of the recent versions of Unreal do have intellisense bugs, 4.25.x and 4.26 have these intellisense bugs so you will have to do these workaroundsā€¦ However other versions may carry other bugs as Unreal Engine is a huge software and there will always be certain bugs that you may have to workaround. So make sure what version is right for you before installing.

I have just been trying these fixes with 4.26.1 too. It seems that something is different with the compileCommands json file so I thought maybe Unreal had fixed it but Iā€™m still getting red squigglies and no intellisense. Iā€™m going to downgrade to 4.22 for now just to avoid these issues altogether so I can actually progress with the course.

Just for reference, with 4.26.1 my compileCommands json file has a number of entries that look like this:

{
	"file": "C:\\\\Users\\\\redta\\\\Desktop\\\\Unreal Projects\\\\Learning\\\\Source\\\\Learning\\\\Learning.Build.cs",
	"command": "cl.exe @\"C:\\Users\\redta\\Desktop\\Unreal Projects\\Learning\\.vscode\\compileCommands_Learning\\Learning.182.rsp\"",
	"directory": "C:\\Program Files\\Epic Games\\UE_4.26\\Engine\\Source"
}

Thanks for the infoā€¦ It will be great if you can share your whole compile commands json using pastebinā€¦ I am still exploring 4.26.1 vscode side of things so maybe I can help in the future. @Redtama

@SHuRiKeN Sure thing: https://pastebin.com/6DUYea8k

Privacy & Terms