UE5.1 + VS2022 - quickest way to build+run after changing source files?

I’m using UE5 editor and VS2022. Currently all my development work is purely c++ coding. I am looking for the fastest way to compile and run the project after modifying source code. As of now, I always need to first save the source files in VS, then click compile in development editor, then click run and when the program finishes, I need to click “stop” in the UE editor.
Is there a way to automatically save the source files in VS and then compile and run the project using one click?
And can to I stop the running project programatically when launched from UE editor?
When I compile the project from within VS2022 as “debug game”, I can quit programatically using FGenericPlatformMisc::RequestExit(false), but building it that way takes longer than building from UE editor. And when I use the same function or system::exit from UE editor, it crashes.