vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

Issue Running C/C++ Files with Code Runner Using Git Bash Terminal in VS Code

Open mdtonmoyfaraji opened this issue 8 months ago • 1 comments

Hello, I am facing a problem when I try to run my C program using the Code Runner extension in Visual Studio Code with Git Bash set as the default terminal. Below is a detailed description of the issue, the behavior I observe, and what I am expecting as a solution. Thank you

Image

mdtonmoyfaraji avatar Jun 17 '25 10:06 mdtonmoyfaraji

Image

this is an issue with code-runner config placeholders adding in unnecessary quotes. i resolved this issues in my forked version

https://github.com/ericchase/vsce--code-runner-fork/issues/1

  • Removed the quotes from customized parameters (placeholders) like $dir, which has been a problem for people for years.

https://github.com/ericchase/vsce--code-runner-fork

ericchase avatar Oct 17 '25 10:10 ericchase