Search code examples
visual-studio-codevscode-extensionsvscode-tasks

Visual Studio Code: How to use F4 to Repeat Last Action


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


Solution

  • 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?