question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tempCodeRunnerFile.js not being deleted

See original GitHub issue
  • VS Code Version: 1.32.3
  • OS Version: Windows 10 Pro 1809
  • Code Runner Version: 0.9.7

Describe the bug If I highlight a code snippet -> right click -> Run Code the tempCodeRunnerFile.js is created but not deleted after it’s executed

To Reproduce Steps to reproduce the behavior:

  1. Highlight Code Snippet
  2. Right Click
  3. Run Code
  4. tempCodeRunnerFile.js is not deleted

Actual behavior tempCodeRunnerFile.js is executed and not deleted after execution

Expected behavior tempCodeRunnerFile.js is executed and deleted

Screenshots Untitled

Untitled2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
formulahendrycommented, Dec 13, 2019

@alanlunspace Are you running code in terminal? If yes, it will not be deleted.

0reactions
CwjXFHcommented, Feb 22, 2020

@formulahendry

If not run in the terminal, when output Chinese characters will garbled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to avoid tempCodeRunnerFile.go appear in the project
I finally realized that there is a code-runner.ignoreSelection setting can ignore selection to always run entire file. The default is false ...
Read more >
tempCodeRunnerFile in VS Code / insiders? Resolve this ...
tempCodeRunnerFile indicates that you have selected part of the code snippet and run it. To avoid this issue, simply follow this video ...
Read more >
formulahendry/vscode-code-runner - Gitter
I tried deleting and reinstalling the extensions, didn't work. ... This is a minor issue but I have not changed anything settings wise....
Read more >
Files randomly marked as deleted in solution explorer and ...
No problem building from command line so guessing its a GUI thing with VS for Mac or a problem with Git integration. Version...
Read more >
Java Guide: How to Fix "Could not find or load main class"
The Java “Could not find or load main class” error is thrown when the JVM fails to find or load the main class...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found