Visual Studio Code doesn't run code

30,100
  1. CTRL+SHIFT+X
  2. Type in search box Code Runner
  3. Install the extension
  4. Than click on File - Preferences - Settings
  5. Type code run in search box.
  6. Scroll down until you find Code-runner: Run In Terminal. Check the box Wheather to run code in Integrated Terminal.
  7. Restart VS Code

Good luck!

Share:
30,100

Related videos on Youtube

Garde Des Ombres
Author by

Garde Des Ombres

Updated on September 18, 2022

Comments

  • Garde Des Ombres
    Garde Des Ombres over 1 year

    Why VS Code doesn't want to run code when I use scanf() function to get user's input knowing that without this function the code runs perfectly.

    enter image description here]

    • Daniel
      Daniel over 4 years
      Look at the terminal tab
    • Ramhound
      Ramhound over 4 years
      Programming questions are out of scope here at Super User
    • Mawg says reinstate Monica
      Mawg says reinstate Monica about 4 years
      It's not really a programming question. It's a "how to use the IDE" question
  • alramdein
    alramdein about 3 years
    thanks! I installed the C extension and apparently it doesn't enough. So thank you for this