When editing a file, a button in the top right is created to both flash and compile your firmware. This saves the time of retyping the commands in the command line.
Pick between Flash and Compile.
Choose to paste and execute or just paste it into the terminal. (Extension settings)
Known Issues
Does not currently work with Docker containers or GitHub Codespaces.
Changelog
0.1.5
Testing right click command for formatting just keycodes to keep uniform spacing. Does not work correctly for keymaps with first row that do not have the same amount of keys as the rest of the keymap.
0.1.4
If a single keymap exists, no prompt for keymap and just run.
0.1.3
Fixed error causing button to only show on specific focus. Now persists if focus leaves text editor.
0.1.2
Added settings to show options for flashing sides.
Added settings to show options extra arguments for compile and flash commands.
0.1.1
Added settings to choose between "Paste and execute" and "Paste only".
0.1.0
If inside a keyboard folder but not a keymap, prompt for keymap to use.
Changed terminal name from "QMK Compile Terminal" to "QMK Terminal"