Fortunately, Visual Studio Code has a little terminal you can use to run commands without needing to swap between windows.
VS Code’s terminal process allows users to run scripts and commands within the editor environment, improving workflow efficiency. It provides a command-line interface for code compilation, version ...