Questions tagged [vscode-code-runner]

Code Runner is an open-source extension for Visual Studio Code. It enables you to run a variety of languages in Visual Studio Code, with support for every popular programming language including both legacy languages and those that have gained popularity in recent years.

Code Runner is a free, open-source extension for Visual Studio Code.

It enables you to run a variety of languages in Visual Studio Code, with support for every popular programming language including both legacy languages and those that have gained popularity in recent years: C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, F# (.NET Core), C# Script, C# (.NET Core), VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure, Haxe, Objective-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Free Pascal, Haskell, Nim, D.

Resources

240 questions
0
votes
0 answers

My VS Code says it cannot find the dotnet command

I am new to VS Code and wanted to start learning c# with it. I ran into a problem when creating a new terminal, it said it was unable to find the dotnet command, but I already have it downloaded. I am using it on Mac, how am I able to fix this? I…
heeman11
  • 1
  • 1
0
votes
0 answers

C++ libcurl makes all console output disappear

I dont know why but if I include curl_easy_init() in my code, all my console output will be omitted. no matter it is executed before or after the function is called. This code below would output "Helo" as expected. #include #include…
top
  • 1
  • 3
0
votes
0 answers

Code Runner extension Run Very Slow in VS Code

So i recently just bought a new gaming laptop, it's an Asus Tuf, but strangely when i install vs code in my new laptop and code some algorithm with c++ andd using Code Runner extension to compile and run my program, it run very slow compared to my…
0
votes
1 answer

code language not supported or defined. SOURCE: Code Runner(extension), How do I solve this error in VS code?

when I tried to execute a code in VS code related to HTML I got "code language not supported or defined" error. My language mode is in HTML, Code Runner is installed, but can't find a way. What should I do? I tried changing code. I rechecked…
soniya
  • 1
0
votes
1 answer

How do I customize C compile and run in Visual Studio Code?

I have always compiled and run my C project manually in this way: gcc -o main file1.c file2.c main.c ./main If I open my project on VS Code and try to compile and run it by pressing the "play" button, VS Code first writes on terminal: gcc main.c -o…
0
votes
2 answers

How do you change your default Code Runner execution command in VS Code?

A newbie here, I've installed the python and code runner extension in VS code and every time I run a Python program by clicking the right arrow(run code) button, it will say python -u in my terminal window. Usually there are no…
0
votes
1 answer

Miniconda VS Code Output Not Running From Code Runner Output Tab

I am an absolute beginner using Python and have been trying to use Miniconda environments. I created a couple of environments and tried to use them with VS Code. Here is my workflow: Open command prompt > activate my desired environment. Open VS…
0
votes
0 answers

"Follow Link" doesn't work with Absolute Paths in Visual Studio Code Terminal ("Unable to open ")

I'm new to VS code, and it's maybe something simple. I'm using Visual Studio Code (version 1.77.1) on my Linux Mint workstation to work with a Javascript / Typescript project. I'm using the Code Runner Extension to run js files. Whenever a path is…
Caliuf
  • 63
  • 6
0
votes
1 answer

How can I change the C++ standard used by the Code Runner extension for VS Code?

I'm trying to use C++20 in VS Code with the Code Runner extension, which allows me to run code using ctrl+alt+n. I have installed MinGW64 through the MSYS2 installer. My compiler version is 12.0.2. In my c_cpp_properties.json file, I have set…
0
votes
0 answers

VSCode extension vscode-code-runner not working Debug PHP

A few weeks ago I was using "Debug PHP" when all of a sudden it stopped working. I don't know what I did. When I click on "Debug PHP" nothing happens, not even a log in Problems, Output, Debug Console or Terminal (lower tabs). But when I click "Run…
Rodrigo Guariento
  • 137
  • 1
  • 1
  • 13
0
votes
0 answers

How to get a multi-file project in C programming to run in Visual Studio Code?

I want to run my multi-file C project in VSC using the CodeRunner extension instead of having to use the command line to create an executable. I want to see the output directly in the VSC terminal window. When I try to do Run Code on my main file, I…
palacetrading
  • 71
  • 1
  • 11
0
votes
0 answers

vs code doesn't show any output for my code

I recently installed vs code and node because I am learning javascript. the thing is my vs code **does not show the output for any of my codes. i have tried everything! first I tried running it with just ctrl alt N but nothing happened. then I…
0
votes
0 answers

Visual studio code is showing the output in the debug console and not in the terminal

I wanted to code c++ using visual studio code so I downloaded the extensions: c/c++ and Code runner. When i tried to run and debug my code I come to find that the output is being shown in the debug console and not in the terminal. I’ve already…
Marc
  • 1
0
votes
0 answers

Vs coderunner doesn't run in terminal

I set the code runner to run in terminal (and yes, I definitely saved it), but it still run in the output window. So how to fix it? Thank in advance i tried both change in settings.json and preference -> setting -> terminal but non of these work
0
votes
1 answer

what does "save all files" mean in vscode? I'm looking to delete all exe files automatically after I get my output in C

In VS Code, what happens if I don't save all files under the Code Runner extension settings? What files are they talking about? The exe files? How can I automatically delete all exe files, as it will eventually take up storage. I am using Code…
rachelle
  • 3
  • 1