Fortunately, Visual Studio Code has a little terminal you can use to run commands without needing to swap between windows.
If you want to run VS Code AI Mode to boost coding performance, this article will be handy for you. It explains how you can enable the agent mode in VS Code, set up an agent, and use the AI Mode to ...