How to set terminal in vs code ?

                                                     How to set terminal in vs code ?

Before-

                                                      Before set the terminal its show error.
After-

                                          After set the terminal its show code ran successfully.



Step1: Open VS code .

Open new window

Step2: Click to Extension  or  Press the (Ctrl+Shift+X) .

Step3: Search  "code runner" .

Step4: Install "CODE RUNNER" .


Click the 5th option from top to left side then 
search code runner

Step5: Open  MY PC and then go to Window SSD ( C: ) then go to Program Files (x86) .

Step6: C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin


                                                                Copy the path of bin folder

Step7:  Click the Window button and Search "Control panel" .

Step8:  And open then go to Control Panel\System and Security\ system .

Step9:  Then go to Advance system settings then Environment Variable.

Step10: Then go to path option \ Go to edit option \ click new then paste bin folder .

Step11: Copy the bin folder (mingw-w64) and paste in the Environment Variable in our PC / Laptop .

Step12: Then  ok\ ok\ ok 




Step13: Then go to  vs code \ Open setting \ Search "terminal" and go to last line .

Step14: Check the option "Code-runner: Run In Terminal" and tick .


Step15: Then close the vs code and Reopen .

Step16: I hope after this code run in terminal successfully.

                                                           Code run in terminal successfully.


Comments

Popular posts from this blog

Basic Data types | HackerRank Solution...

There are three people sitting in a room - Alice, Bob, and Charlie. They need to decide on the temperature to set on the air conditioner. Everyone has a demand each:

Chef has recently introduced a feature which allows you to open any user’s submitted code (not just your own), and ask an AI to explain that code in English. For example, you can go to https://www.codechef.com/viewsolution/70530506 and click on "Analyse This Code".