https://github.com/christopherreed/VSCodeSourceCodeAccess
Unreal Engine 4 plugin that provides source code access for working with C++ projects using VSCode.
You may want to check out ue4-cpptools, a VSCode extension that provides tools for working with Unreal Engine 4 C++ projects in VSCode.
USE AT YOUR OWN RISK
This is an unofficial plugin and it is not affiliated in any way with Epic Games. This plugin shouldn't be used in a production environment.
Unreal Engine 4.18 ships with official VSCode support.
Future development of this plugin will halt and become maintenance and bug fixes only.
The github repo will remain avaialble for use with pre 4.18 versions of Unreal Engine.
This is a very basic plugin that really only provides the ability to open C++ classes and projects in VSCode from the UE4Editor.
This plugin should work with Unreal Engine versions 4.16 and 4.17 on Linux, Windows, and Mac (not tested).
Unreal Engine | 4.17 | 4.16 | 4.15 (or older) |
---|---|---|---|
Windows | ok | ok | no |
Linux | ok | ok | no |
Mac | ? | ? | no |
-
Download the plugin source
-
Copy the plugin source folder into an existing Unreal Engine 4 C++ project's Plugins folder (.../MyProject/Plugins/VSCodeSourceCodeAccess)
-
Open the project from Unreal Engine 4
-
Select No if prompted to disable the VSCodeSourceCodeAccess plugin because it is incompatible with your engine version
-
Select Yes when asked if you would like to build the VSCodeSourceCodeAccess plugin
After building the plugin you can make it available to other projects by copying the VSCodeSourceCodeAccess plugin folder to your Unreal Engine 4 Engine/Plugins folder (...Engine/Plugins/VSCodeSourceCodeAccess)
- Select VSCode from Editor Preferences/General - Source Code/Source Code Editor
Use File/Open an IDE to edit source code or select a C++ Class from UE4Editor and double click or choose Common/edit... from right click menu to open VSCode.
Project Settings/Plugins - VSCode/VSCode Path : Path to the VSCode executable
https://github.com/christopherreed/VSCodeSourceCodeAccess/issues
- Mac not tested
This software is licensed under the MIT License, see LICENSE for more information