4.13 added a new entry in the Visual Studio hotkeys list “UnrealVS.CompileSingleFile”, and it allows you to compile a single cpp file (as the name suggests).
I’ve set it to CTRL+F7 (overriding the VS editor default of the same purpose), but when I try to run it I get an error:
I have regenerated the project files just in case, but it didn’t fix the problem.
Has anyone successfully used this new hotkey?
That looks like a malformed command line to something, Probably just missing qutes (").
Altho I don’t think that helps you.
I tried this out myself, I don’t get an error and it looks like it compiles the single CPP file.
1>------ Build started: Project: Unboxed, Configuration: Development_Editor x64 ------1> Compiling C:\Users\Dec\Desktop\Unboxed\Unboxed\Source\Unboxed\Components\WeaponComponent.cpp
1> Performing 1 actions (4 in parallel)
1> Total build time: 12.52 seconds
It looks like it works, but I did try writing random letters into my code that would cause a compile error but it seems to ‘succeed’ every time with this same log and no errors or issues.