How to Run Program In VS Code Terminal VS Code Terminal not working CC++,Java,Python & Nodejs,JS
Mar 1, 2026
Get the full source code of application here:
Show More Show Less View Video Transcript
0:00
Uh hello guys in this video I'll show
0:02
you how to run a program and code inside
0:05
VS code using an extension called as
0:09
coder runner. So if your terminal is
0:11
also not showing if you have some
0:13
problems in VS code I will show you the
0:15
potential fixes. So first of all you
0:18
need to install an extension which is
0:20
called as coderunner. Simply go to
0:22
extensions tab and simply type this
0:25
extension. So it's having almost 39
0:28
million downloads. So just click the
0:30
install button and install this
0:32
extension. So after you install the
0:35
extension, you can run programs in any
0:37
files.
0:39
So after you install this, go to file
0:42
preferences
0:43
settings and just type here coderunner
0:48
and right here you just need to tick
0:51
mark this setting clear previous output.
0:55
this setting.
0:58
So these will be code runner run in
1:00
terminal. Just tick mark this option. By
1:03
default it will be ticked.
1:06
So once you open any Python file here
1:09
this will add this setting which is run
1:12
code for every file every programming
1:16
language. So once you click the run code
1:17
button it will directly run the file
1:19
directly inside the terminal.
1:22
So as you can see it uh
1:25
run this Python program. Same goes with
1:28
uh any JavaScript file as well. So as
1:31
soon
1:37
it works with each and every language
1:40
which can be executed locally.
1:44
So again you see this run code button.
1:46
So it directly types out hi
1:52
It can run C++, Java, NodeJS programs
1:55
each and every. So it's a very useful
1:57
extension coder runner. So if your
2:00
terminal is not showing automatically
2:03
if you if it creating some kind of
2:05
problem then also you can go to command
2:08
pallet and simply type terminal select
2:12
default profile.
2:18
So once you select this option just make
2:19
sure it's selected to command prompt.
2:22
Also you can go to settings right here
2:24
and simply type here terminal
2:28
default profile.
2:32
Just make sure this terminal integrated
2:34
default profile is selected to command
2:37
prompt.
2:38
So just make sure that it's selected to
2:40
command prompt. Then that terminal will
2:42
definitely show as soon as you click the
2:44
run code button every time. So as soon
2:47
as you click the run code button, so
2:50
you'll be able to run your code directly
2:52
inside VS code on the terminal. So this
2:56
is the extension.
