IAR Keymap
IAR Embedded Workbench-style keyboard shortcuts for Visual Studio Code.
This extension helps embedded developers retain familiar build and debugging
muscle memory when moving from IAR Embedded Workbench to Visual Studio Code.
It works with any compatible VS Code debugger and does not modify source files
or project settings.
Shortcuts
| Shortcut |
Action |
F7 |
Run the default build task |
Ctrl+D |
Start debugging |
F5 |
Continue debugging |
F9 |
Toggle breakpoint |
F10 |
Step over |
F11 |
Step into |
Shift+F11 |
Step out |
Ctrl+Shift+F5 |
Restart debugging |
Shift+F5 |
Pause debugging |
Ctrl+Shift+D |
Stop debugging |
Ctrl+Shift+A |
Attach to a target |
Ctrl+D replaces VS Code's default Add Selection to Next Find Match shortcut
while focus is in an editor and no debug session is active.
Ctrl+Shift+A starts an attach configuration from .vscode/launch.json
immediately when there is only one. When several attach configurations exist,
the extension asks which one to use.
Build
F7 invokes VS Code's default build task. Configure one task as the default build
task in .vscode/tasks.json, for example by setting its group to:
"group": {
"kind": "build",
"isDefault": true
}
Installation
Visual Studio Marketplace
Open Extensions in Visual Studio Code, search for IAR Keymap, and select
Install.
VSIX
Build the VSIX package:
npm install
npm run package
Then run Extensions: Install from VSIX... in Visual Studio Code.
Requirements
- Visual Studio Code 1.85 or newer.
- A configured default build task for
F7.
- At least one
request: "attach" launch configuration for Ctrl+Shift+A.
Privacy
IAR Keymap does not collect telemetry and does not make network requests.
Trademark notice
IAR and IAR Embedded Workbench are trademarks of IAR Systems. This independent
extension is not affiliated with or endorsed by IAR Systems.
License
MIT