0

What is the method to enable the use of F4 or other "ONE-KEY" press to repeat the last action in VS Code. A feature similar to the use of F4 under MS Word.

This article: Visual Studio Code command for "repeat last command" does not answer this question and uses more than one (1) key.

Thanks

Mohsen Alyafei
  • 4,765
  • 3
  • 30
  • 42
  • There was a macro solution which is as close to one key as you are going to get - you can use `F4` for the keybinding if you wish. Otherwise there is no built-in way to rerun the last command, unless someone has written an extension to do it. – Mark Jun 21 '20 at 03:00
  • @Mark not sure if there is an extension available. Couldn't find one. – Mohsen Alyafei Jun 22 '20 at 11:13

1 Answers1

1

I did some research and I couldn't find a shortcut that words like F4 in MS Word. I was hoping to find the shortcut and edit it but there is no such command in VS code.

Answer drawn from this post: Visual Studio - is there a repeat last command command or shortcut?

burntchowmein
  • 474
  • 1
  • 4
  • 16