vscode-starter is a template for quickly creating a vscode plug-in project. It can help you quickly create a vscode plug-in project, allowing you to focus on plug-in development.
This extension is built specifically for Raspberry Pi (and similar lightweight/embedded environments) where command history often isn't written in the same way as a regular desktop shell. On those devices you may not be able to press the Up arrow to recall the last command after it finishes. This extension provides a quick command / shortcut to re-send the last executed terminal command so you can run it again without retyping.
Problem: On many Raspberry Pi setups (and other constrained systems) the shell doesn't always persist the immediately previously executed command to history. That means pressing the Up arrow won't reliably recall the last command.
Solution: This extension keeps track of the last text that the extension sent to the integrated terminal and provides a single command / keyboard shortcut to send that text again to the active terminal — a tiny convenience that saves you retyping long commands frequently used on Pi devices.
Features
Re-send the last command previously executed through the extension to the active terminal.
Trigger via the Command Palette or bind a custom keyboard shortcut for instant access.
Works well on Raspberry Pi and other environments where history isn't reliably written.
Usage
Run commands in the integrated terminal as usual.
Use the Command Palette and run the "Pi: Re-run Last Command" command (or the specific command name implemented by this extension).
Optionally assign a keyboard shortcut in VS Code to the command for faster access.
Example keyboard binding (optional):
Open Preferences → Keyboard Shortcuts and add a binding for the command name (e.g. extension.piRunLastCommand or the command ID this extension exposes).
Why this exists
On resource-constrained systems such as Raspberry Pi the shell's history persistence can behave differently than on desktop systems — often the last-running command isn't stored in history in time to be recalled with Up. This extension provides a practical workaround: a fast, reliable way to re-send the command without manual retyping.
Installation
Install from the VS Code Marketplace or load the extension locally when developing.
After installing you can find the command in the Command Palette and bind a keyboard shortcut if you like.