menu

arrow_back How do I update the code in visual studio code?

by
1 vote
I am trying to write a discord bot in python using Visual Studio Code.
The point is that if I change the code and want to test it, I have to close Visual Studio Code, open it again and run the code. I tried using F5, but it turns out that the former code and the new code are combined and both are executed. How to make code reloading simpler? I open one file, not a folder.

1 Answer

by
 
Best answer
0 votes
Have you tried the keyboard shortcut CTRL + C?