What shortcut he uses for compiling?

His methods are a bit different from the earlier tutor.
Feels like this session is cutout from a different course, where he explains these basic things like the other tutor did, with his tools.

The tutor in this course dont use live coding either, and i cant really feel when i should use live coding, and when i have to reload everything…

What section are you on? Do you mean from VS Code? That’s Ctrl + Shift + B.

im in the toon tank section.
everytime he compiles it magically succeeds everything.

ctrl+shift+b for me makes a dropdown, which i cant see on the video, and ctrl+alt+f11 opens a new window for me.

and i dont know which one is used by the tutor.
for me the hot reload seems to be faulty sometimes, but the normal complie cant be done while the editor is opened, and it takes much time to reopen the project every time.

im just searching for an optimal workflow.

From VSCode I am using Ctrl + Alt + F11. I have not tried Ctrl + Shift + B myself.

I do not know of a shortcut in UE5 except that little button in the corner.

You can make that build task the default by finding it in the tasks.json and changing

"group": "build",

to

"group":
{
	"kind": "build",
	"isDefault": true
},

In regards to “Ctrl + Shift + B” : What build task would we be setting to default? I thought all those options under build tasks would require the editor to be closed first.

In regards to “Ctrl + Alt + F11”: This does compile my code for me, however I did not set it up myself. It just worked automatically. Looking through the VSCode shortcuts this key combination doesn’t seem to be set either. I understand this is called or related to Live Coding Compile, but do you happen to know what exactly is being called or done behind the scenes. Does UE set this up automatically for us in VSCode when the project is created? And do we need to have Live Coding enabled for this key combination to work (which may why it does not work for @gondosd )?

Edit: After disabling live coding in Unreal Editor “Ctrl + Alt + F11” does nothing for me in VSCode.

ProjectNameEditor Platform Development Build.
Where ProjectName is the name of your project and Platform is the platform you’re targeting e.g. Win64

With UE5, yes.

That is Unreal’s keyboard shortcut for Live Coding and is not in any way connected to keyboard shortcuts in VS Code.

1 Like

Thank you for taking the time to respond and for the very thorough answer!

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.