Unreal+LiveCode+VSCode
2023/10
15
10:10
使用LiveCode+VSCode,IDE只负责写代码就行了,不需要编译.非常轻巧
1.安装VSCode及插件
C/C++
C/C++ Extension Pack
C/C++ Themes
C#
CMake
CMake Toos
2.配置
在VSCode的Extensions中,点击C/C++扩展的齿轮图标,然后点击 扩展设置
找到Include Path,添加
${workspaceFolder}/Intermediate/**
${workspaceFolder}/Plugins/**
${workspaceFolder}/Source/**
C:\XXX\UE_5.3\Engine\Source\Runtime\**
${default}
启用 C_Cpp: IntelliSense Engine Fallback
3.设置VSCode为默认编辑工具
在Edit/Editor Preferences/General/SourceCode中,将SourceCodeEditor 设置为VSCode,重启
[可选]
1.编译:
在终端->运行任务中选择“项目名 Win64 Development Clean”清理项目, “项目名 Win64 Development Build”编译项目,编译成功后,即可打开UE5运行
修改完代码后,在UE中直接按Ctrl+Alt+F11重启编译和加载即可
2.屏蔽不需要的文件
**/.vs
**/.sln
**/.uproject
**/Binaries
**/Build
**/Content
**/DerivedDataCache
**/Intermediate
**/Platforms
**/Saved
**/UE5
CopyRights: The Post by BY-NC-SA For Authorization,Original If Not Noted,Reprint Please Indicate From 老刘@开发笔记
Post Link: Unreal+LiveCode+VSCode
Post Link: Unreal+LiveCode+VSCode