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
1
vote
2 answers

How to Display Python output in VS code terminal

So.. whenever i try running Python codes in Vs code the output isn't shown in terminal part but the output part, can someone tell me how to make the output visible in terminal part plss
1
vote
1 answer

Run js or ts file with `bun js` in vscode's code runner extension

How can I run .js or .ts file with bun in VS Code (from Code Runner Extension). I have only bun JS as JavaScript Runtime in my Computer ( I don't have nodejs in my computer). Even if I download nodejs then how can I run .js file with bun js in…
1
vote
0 answers

An unknown file names runner

I have a problem using visual studio. When I was trying to install an interpreter (code runner) I don't know what I did after I typed "code runner" (probably just pressed enter) and a file opened, named runner and it doesn't let me to go to other…
1
vote
0 answers

Code Runner extension working bad alongside Conda

I installed and configured VS Code for Python + Conda + Code-Runner but whenever I run code in terminal with the code runner option the first start never gets the conda environment with the libraries I installed, just as below: The confusion made…
1
vote
2 answers

Can the Code Runner extension in VS Code use the selected kernel when running a piece of code?

I'm new to programming and I'm setting up setting up Visual Studio Code to start learning some Python. I've got the following setup: MacOS 10.6.4 (I've got a system Python 2.7.16) installed Anaconda ('base' environment with Python 3.9.7 and…
1
vote
0 answers

How to set breakpoint when I use vscode Code Runner extension to execute typescript?

Here is my source code: https://github.com/kody-liou/code-runner-set-breakpoint I use the extension "Code Runner" to execute my typescript file. I set a breakpoint then I press the "Run Code". The breakpoint was not working. I expect the breakpoint…
1
vote
3 answers

My VS CODE extension code runner isnt working

Hi my issue is that in my visual studio code, my code runner extension doesn't provide any output. I've looked at a bunch of tutorials and have done everything, research, download node.js,and saves the file as a javascript file and verify paths. I…
1
vote
1 answer

How to change the background colour of the code-runner output in Visual Studio Code?

I want to change the background colour of the output given by the 'code-runner' extension in Visual Studio Code by using the appropriate keyword in the setting.json file. This is the area where I want the colour to be changed: image
Shookti
  • 23
  • 3
1
vote
0 answers

Code runner: code language not supported or defined

I just finished to setup Kotlin in Vscode, and download Coderunner to run test code such as "Hello world!". However, no matter how I tried, Code runner gave me this error: Code language not supported or defined. I did almost everything what I can…
Zeheo
  • 27
  • 3
1
vote
0 answers
1
vote
0 answers

Code Runner doesn't run code when I enable "Run in Integrated Terminal" option

I've been using VS Code to run c++ with code runner on my chromebook for 2 months, and I had no issues. Now I installed VS Code on my main Windows PC and I correctly installed the latest versions of g++ and gdb, in fact, VS Code compiles with no…
1
vote
2 answers

How to change the CodeRunner .class file creation from same working directory of the java file in vs code?

I am currently using vs code to run my java files. But when I use coderunner and run my java file it creates a .class file for every class in the same directory of my java file. Which gets messy how can I get rid of that? I am ok with uninstalling…
1
vote
0 answers

Why am I having an issue with Code Runner compiling C?

Hi I'm using vscode I've been using it fine for a year or two. For some reason the last week code runner started acting up it tries to run my C code in git bash terminal and it gives me an error instead of running in PowerShell. My default terminal…
Dhia Ammar
  • 49
  • 4
1
vote
2 answers

tempCodeRunnerFile.py problem in visual sudio

I had this problem since I started using the code runner extension. a file called tempCodeRunnerFile.py get created and runs when I click on the run button it really annoying, I tried deleting the tempCodeRunnerFile.py file but it keeps coming back.
Johan Jomy
  • 592
  • 2
  • 7
  • 22
1
vote
1 answer

How to edit the shortcut for runnig code in visual studio code with code runner (Ctrl+Alt+N)

How can I change the shortcut used in visual studio code after installing code runner. Current shortcut Ctrl+Alt+N. I want to change it to something like F5 or Switch + Enter or any other easier one. This is how to run the code: How can I change…
Johan Jomy
  • 592
  • 2
  • 7
  • 22