Need help setting up visual studio code

Is it because you were using Code Runner - Visual Studio Marketplace? You should be able to run your code without that.