- Unreal Engine
- General
- Features
- Requirements
- Installation
- Running
- Extension Settings
- Known Issues
- Release Notes
- Remove old unused settings
- Uninstalling
- Comments
- 4.25
- 4.26.1+
(newer Unreal Engine versions may require latest extension)
- 4.26.0
It currently supports Unreal Engine v4.25 and v4.26.1+
Feel free to comment about it here: https://gist.github.com/boocs/f63a4878156295b6e854cac68672f305#comments
You can comment about anything including any code quality comments. I'm just starting out in TypeScript and never really learned JavaScript so any info is great.
Code is hosted here: https://github.com/boocs/ue4-intellisense-fixes
- The extension will fix UE v4.25 and v4.26.1+ VSCode Intellisense issues on startup.
- It must happen at startup or the Tag Parser will add unneeded symbols to the browse cache file
- Fixes invalid paths in compile command's response file.
- Adds missing source/headers to compile command's file.
- Runs on startup. You must restart VSCode to fix Intellisense errors for new files
- Fixes UE4 workspace's Tag Parser includes to increase performance.
- Fix for wrong cppStandard and to not pollute global user setting.
- Optional fix: Removes project specific references from UE4 workspace and add general Intellisense to UE4 source code.
- Fix for deprecated externalConsole setting in launch.json
- Real time
- Detects project resets and will run extension again
- Warns to restart VSCode on new Source/Header detection
- Fixes no defines.
- Fix for wrong cppStandard and to not pollute global user setting.
- Fixes UE4 workspace's Tag Parser includes to increase performance.
- Fix for deprecated externalConsole setting in launch.json
- Real time
- Detects project resets and will run extension again
-
You can also get to the log by clicking on this icon. It will appear for 2 minutes after the extension is done.
- VSCode v1.52.0 or higher
- Microsoft's C/C++ extension (ms-vscode.cpptools)
- A UE4 4.25 or 4.26.1+ project
- A YourProjectName.uproject file in your project's directory. *
- A YourProjectName.code-workspace file in your project's directory with: *
- A folder in "folders" named UE4 and a path leading to the UE4 directory
Note: * UE4 should set this up automatically for you when you first create your project.
-
Download from here: https://github.com/boocs/ue4-intellisense-fixes/releases/
-
Click the VSIX file to download (version will be different than pic)
-
- Click the Extensions button inside VSCode
- Click the ellipsis (3 dots) in upper-right corner of left side panel
- Choose "Install from VSIX..."
- Select the vsix file you just downloaded from GitHub
The extension will fix your projects on startup of VSCode.
-
You must first enable fixes in the settings. (see Extension Settings)
-
After enabling fixes, restart VSCode for it to fix your project.
Note: Make sure to remove any previous fixes and reset your project (see Known Issues). If installing from previous versions make sure to delete the previous version's extension folder. Skip this step if you've never used any fixes.
-
After the fix has run and it's working, on your UE4 project, make sure to reset the Tag Parser cache to take advantage of the smaller cache size
-
From the VSCode Command Palette, type reset and choose 'C/C++: Reset Intellisense Database'
-
It'll take ~15 minutes for the Tag Parser to finish running
-
You should only have to do this once.
When you add new source/header files and restart VSCode, to fix Intellisense for the new files, the extension will ask what response file you want to use for each new file.
If you don't want to mess with figuring it out, cancel the choice menu and reset your project which should fix it instead.
- Fixes are disabled by default. You must enable them.
- You can only set these settings in the global User settings.
- Restart VSCode for newly enabled fixes to take effect.
This extension contributes the following settings:
UE4IntellisenseFixes.enableFixes
falseUE4IntellisenseFixes.enableOptionalFixes
falseUE4IntellisenseFixes.cppStandard
""
Note: If you've installed with a vsix file you can safely install new updates without uninstalling any previous version.
There could be conflicts with fixes previously done.
-
Remove any prior fixes and reset your project.
-
Delete old ue4-intellisense-fixes extension folder prior to copying new one over
Note: You can skip this step if you've never fixed your project's Intellisense.
To reset your project right click on your YourProjectName.uproject file, in your project directory, and choose Generate Visual Studio Project Files...
Note: The wording may be different depending on your IDE
Note: You should only have to do this once per project.
https://github.com/boocs/ue4-intellisense-fixes/blob/master/CHANGELOG.md
Go to your global User settings file.
Easiest way to open this file:
-
Scroll down till you see any setting with "Edit in settings.json" and click it.
-
This will take you to the global user setting but will also automatically paste the random setting. Delete this newly created setting if you don't want it
-
Now look in the file for old UE4Intellisense settings. Delete these.
You can uninstall/disable the extension and reset your project and everything should be back to normal.
Comment using the gist feature below: (Must be signed in)