1

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

2 Answers2

3

It indicates that you have selected part of the code snippet and run it.

You can add "code-runner.ignoreSelection": true in the settings.json file to avoid it.

Steven-MSFT
  • 7,438
  • 1
  • 5
  • 13
0

If your highlighting your code. Dont highlight it. Just run the code without highlighting any code. and it will work.

Simo
  • 1
  • 1