# Inconvenience due to Code runner

**URL:** https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132
**Category:** VS Code
**Created:** [June 10, 2023, 7:56am UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132 "2023-06-10T07:56:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![BeitianMa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beitianma/32/43745_2.png) [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)
#### Post date: [June 10, 2023, 7:56am UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132/1 "2023-06-10T07:56:30Z")

</div>

As I am recently learning C, I have installed `Code runner` to enable me to compile C code on VSCode, but the plugin seems to set the `run` button in the top right corner to the terminal of `Code runner` by default. Whereas when I write Julia, (when I press the `run` button) I want to run it using `Execute Active File in Julia REPL` from the Julia plugin, there are of course some other languages that are overridden by the default settings of code runner.

My question is whether there is a way to make Code runner’s default changes to the run button only work for C/C++ scripts (I could of course select the one I want from the corresponding options in the run button’s drop-down menu each time, but that’s a bit of a pain). Thanks in advance!

---

<div class="post-metadata">

### Author: ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)
#### Post date: [June 10, 2023, 1:07pm UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132/2 "2023-06-10T13:07:24Z")

</div>

I haven’t used that extension, but if you go to the extension panel, find Code runner, and click on the gear symbol, there is usually an option to “Disable for Workspace”. You could disable the extension for all your Julia projects, and it would probably fix your problem!

If you do more Julia than C, you can also do the opposite – Disable it globally and only enable it for the workspaces where you’re working with C.

---

<div class="post-metadata">

### Author: ![BeitianMa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beitianma/32/43745_2.png) [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)
#### Post date: [June 11, 2023, 12:32pm UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132/3 "2023-06-11T12:32:49Z")

</div>

Thank you very much for your answer, it is very useful for me!

---

<div class="post-metadata">

### Author: ![xgdgsc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xgdgsc/32/608_2.png) [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)
#### Post date: [June 11, 2023, 2:36pm UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132/4 "2023-06-11T14:36:11Z")

</div>

Code runner is useless for any language in the long term. Just uninstall it.
