Created
March 21, 2023 22:31
-
-
Save owenbutler/30b7d9b528c879ad0972e092e7480c43 to your computer and use it in GitHub Desktop.
Small keyboard shortcuts to run Dragonruby, and build the distribution, vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // To get to your user keybindings, you can use CTRL+Shift+P then search for: | |
| // "Preferences: Open Keyboard Shortcuts (JSON)" | |
| // this should open up this empty json file. | |
| [ | |
| { | |
| "key": "alt+r", | |
| "args": "rundr", | |
| "command": "workbench.action.tasks.runTask", | |
| }, | |
| { | |
| "key": "alt+b", | |
| "args": "build_dr", | |
| "command": "workbench.action.tasks.runTask", | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place this in a .vscode/tasks.json file | |
| // The .vscode directory is something that you need to create per project | |
| { | |
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | |
| // for the documentation about the tasks.json format | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "rundr", | |
| "type": "shell", | |
| "command": ".\\dragonruby.exe", | |
| "presentation": { | |
| "reveal": "never", | |
| } | |
| }, | |
| { | |
| "label": "build_dr", | |
| "type": "shell", | |
| "command": ".\\dragonruby-publish.exe --only-package", | |
| "presentation": { | |
| "reveal": "always", | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment