Create snippet: the shortcut in both apps
Each app binds this differently. The table shows the keys in Visual Studio and Slack side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Visual StudioInsert a snippet | — | CtrlK,CtrlX | — |
| SlackCreate a snippet | ShiftCmdEnter | CtrlShiftEnter | CtrlShiftEnter |
How the apps compare
- Mac: Cmd+Shift+Enter in Slack.
- Windows: Ctrl+K Ctrl+X in Visual Studio; Ctrl+Shift+Enter in Slack.
- Linux: Ctrl+Shift+Enter in Slack.
Learn it by pressing it: Visual Studio shortcuts practice or Slack shortcuts practice.