# VSCode: keyboard shortcuts broken?

**URL:** <https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [November 21, 2021, 12:07pm UTC](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859 "2021-11-21T12:07:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roh\_codeur](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Post date:** [November 21, 2021, 12:07pm UTC](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859/1 "2021-11-21T12:07:27Z")

</div>

Hi

I must congratulate the VSCode team on a wonderful plugin.  
I have a project with multiple modules. To make it faster to develop, I follow the below pattern to debug:

1. Create a script which calls multiple modules. I start off by selecting some lines and Alt+Enter to execute
2. go to my module, select a line and press ctrl+Enter to execute. this might refer to some variables in step.1 above. because variables names are same, it would work

this workflow seems to have broken in the newer version of VSCode plugin. Now

1. Create a script which calls multiple modules. I have to press Shift+Enter. Alt+Enter runs the complete file
2. Pressing ctrl+Enter doesn’t work. I have to manually copy the lines into REPL to get it to work

I tried with a few options in preferences, like copying code to REPL before executing, to no avail.

Can anyone please help with this? Do we know why step 2 is now broken?

Thanks  
Rohit

---

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [November 21, 2021, 6:12pm UTC](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859/2 "2021-11-21T18:12:31Z")

</div>

The default key bindings have changed in the latest release of the Julia extension for VS Code.

See here for an announcement of the release:

> [@\[ANN\] Julia for VS Code 1.5 released](https://discourse.julialang.org/t/ann-julia-for-vs-code-1-5-released/71365):
>
> Hey folks, we’ve just released version 1.5 of the Julia extension for VS Code. Here are some of the highlights in this (and the unannounced 1.4) release, but feel free to check out the [changelog](https://github.com/julia-vscode/julia-vscode/blob/master/CHANGELOG.md) anyways. Runtime diagnostics/JET.jl integration The custom application/vnd.julia-vscode.diagnostics MIME type allows packages to display runtime diagnostics directly from your REPL. I’m currently only aware of [JET.jl](https://github.com/aviatesk/JET.jl) using this, but there are many possible applications. Interactive plot pane …

And here for updated documentation regarding ways to run code:

> **[Running Code · Julia in VS Code](https://www.julia-vscode.org/docs/stable/userguide/runningcode/)**
>
> Documentation for Julia in VS Code.

---

<div class="post-metadata">

**Author:** ![roh\_codeur](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Post date:** [November 21, 2021, 8:33pm UTC](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859/3 "2021-11-21T20:33:00Z")

</div>

thanks for the pointer mate! looks like they have indeed changed and removed some keybindings. Anyone else who runs into this, here is what I did:

1. Look at an earlier version of VSCode package.json. you are looking for the section: keybindings.

[https://raw.githubusercontent.com/julia-vscode/julia-vscode/f7bff5c0943622efe2949062dfa1d16e710dac37/package.json](https://raw.githubusercontent.com/julia-vscode/julia-vscode/f7bff5c0943622efe2949062dfa1d16e710dac37/package.json)

1. Copy the keybindings section and paste in your local installation. restart and reload extension.

Hope it helps
