Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Re-run Last CommandNew to Visual Studio Code? Get it now.

Re-run Last Command

Cameron Maske

|
4,876 installs
| (6) | Free
Quickly re-run your last command in the integrated terminal.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Re-run Last Command in Terminal

Quickly repeat the last command in your terminal without leaving the text editor.

By default this is bound to ctrl+f7 or cmd+f7 (mac).

You can rebind this in the Keyboard Shorcuts Editor looking for the extension.rerunLastCommand Command.

Extension Settings

  • rerun.command: The command run in the terminal to repeat the last command, by default this is !! (works across bash, zsh)

Contributing

Contribution to this extension are welcome! Before submitting any changes, please first discuss the changes you wish to make via an issue.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft