Skip to content

Instantly share code, notes, and snippets.

Last active June 18, 2021 12:19
What would you like to do?
VS Code keyboard shortcut for quickly re-running the Go test under development. Requires VS Code Go 0.26+
// > Preferences: Open Keyboard Shortuts (JSON)
"key": "shift+enter",
"command": "go.test.cursorOrPrevious",
"when": "editorTextFocus && editorLangId == 'go' && !findInputFocused && !replaceActive"
"key": "ctrl+shift+enter",
"command": "go.test.package"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment