How can I show the Code Runner shortcut in Visual Studio Code if I mistakenly hid it?"
I was using Visual Studio Code and I accidentally hid the Code Runner shortcut. Is there a way to show it again? I have tried searching in the keyboard shortcuts settings but can’t seem to find it. Any help would be appreciated (P.S I Know Many Of You will Say Use a Shortcut Key, or Reinstall the CodeRunner & VS Code But All Is Not Working)
How Can I get Code runner Shortcut Again
2
Answers
Make sure that you enabled your "Code Runner" extension
Go to the top right corner of VS Code to find a button that looks like three dots (…)
Right click on it and press "Run Code"
The Run Code button should reappear now
@AnsonH‘s answer is most likely the solution you need:
But there’s a chance you accidentally messed with the
code-runner.showRunIconInEditorTitleMenu
(accidentally set it tofalse
), in which case you just need to remove the line that sets it tofalse
from your settings.json files, or set it totrue
explicitly.