Skip to content

Run Code Snippets or Files Inside VS Code

vs code run snippets

Today I would like to share with you the Code Runner extension.

Code Runner allows you to run code snippets or files inside VS Code which can be extremely useful.

The extension supports JavaScript, PHP, Python, and other tens of languages.


To run a file, simply right-click anywhere within the file or press down CTRL + ALT + N.

The VS Code output console will pop up, and display the output of your code.

You can also run specific lines of code by selecting and running them similarly.

All in all, this is a great extension to have in your quality-of-life toolbox.

That’s all for now.

Happy coding! 😊

Let me know what you think about this article in the comments section below.

If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.