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
1 answer

How to fix code runner that executes the program slowly on windows 10?

months before it worked as fast as I click the run now it does now do the same I have already contacted vs code and asked they said that it is the code runner here is the link: https://github.com/microsoft/vscode/issues/171501 and I have already…
0
votes
0 answers

Run Java and Python codes in external terminal of VSCode using Code Runner

How do i run Java and Python code in external terminal using Code Runner?I have tried different settings in JSON but nothing worked.Can someone help? Note--I am using Windows
0
votes
0 answers

How to run c program with coderunner in visual studio code?

I'm trying to run my c program in visual studio code without having to do gcc main.c /other c files/ && .\a.out everytime and just use coderunner, but everytime I try and use coderunner I get an unresolved reference error and I'm not sure how to fix…
0
votes
1 answer

Able to run Java code using Code Runner but not CLI

Currently a beginner to Java and I have the extension Code Runner installed. I am able to run my code within the window via the Run | Debug options provided by Code Runner. However, after compiling the file with javac, I am unable to run the file.…
Peek0
  • 173
  • 2
  • 9
0
votes
0 answers

M1 Mac - VSCode using CodeRunner - Can't use auto iterator to cout vector elements

Trying to run a cpp program that gives back the union of two arrays. Computer is a M1 Pro Macbook Pro 14.2 inch with Mac OS Monterey 12.6. Using VSCode with the C/C++ extensions, and Coderunner. I was having problems with running cpp programs on…
0
votes
0 answers

Running Python FastAPI App Using Code Runner

I am running the following python FastAPI app using Code Runner in VSCode but I get the following error, any idea what could be causing it? [Running] C:\IDE\Anaconda3\envs\python38_web\python.exe -u…
Walid
  • 43
  • 1
  • 6
0
votes
0 answers

Vscode python file runs fine but ModuleNotFoundError is thrown when code-runner is used

Hello I have the following directory structure for my project in vscode: --- my_programs/----| |--my_code/----| |__tests/ | …
0
votes
2 answers

How to configure coderunner extension to execute ts

i understand that's a rookie question, but i failed to find an answer to it. For making my tests easier I need to run small parts of my code and, after some search, I found the code runner extension for VsCode to do it. An example is the…
0
votes
0 answers

Pls help, Code Runner extension, cmder and Windows Terminal

how can I using Code Runner extension with cmder and Windows Terminal? (cmder integrated into Windows Terminal). By default Code Runner doesn't work in external terminal.. I used Wolfgang Dielingen's article to make cmder and Windows compatible. I…
0
votes
0 answers

Code runner extension for vs code installation problem

I've been trying to install code runner extension on vs code but I keep getting the result"unable to install extension 'formulahendry.code-runner-0.11.8' as it is not compatible with code'1.26.1." I've also tried installing version 0.11.7 of the…
0
votes
1 answer

kotlinc: command not found in vscode terminal

I am trying to execute kotlin code with code runner. I did set the path for it and it works in the default gnome terminal when I run kotlinc -version. However when I run the same command in vscode terminal bash I am still getting command not found.…
bihire boris
  • 1,530
  • 3
  • 19
  • 44
0
votes
0 answers

VS code: How to set up the code runner in Visual Studio Code such that the command does not print out when the code is being executed in a terminal

Is there a way in VS Code to stop printing the command that the code runner executes? It takes up a lot of room and occasionally makes the result hard to read.
0
votes
0 answers

VS Code doesn't run any scripts

I am using VS Code on windows 10 and also code runner extension, everything was working fine till I used a workspace in a multi filed project, from there no file would to run through VS code automatically, I either have to use cmd or run it manually…
0
votes
0 answers

VS Code- Code Runner Extension: Adding support for new language wont output to output

(this looks like a similar issue to this but the solution there was to just tell code runner to run in the terminal-which does work- but the whole thing with code runner is it looks alot cleaner from the "output" page. also this should work it just…
whatplan
  • 1
  • 1
0
votes
1 answer

How to remove the file path from python debug console

I'm using code runner extension on vscode to run python file and i to remove the path that appear when i run the code, Please help me. Img
wissem
  • 17
  • 5