A VSCode extension that switch ruby files and spec files with shortcut key.
Available commands:
"commands": [
{
"command": "extension.toggleSpec",
"title": "Toggle Spec"
},
{
"command": "extension.runSpec",
"title": "Run Spec"
}
],
"keybindings": [
{
"mac": "cmd+9",
"key": "ctrl+9",
"command": "extension.toggleSpec"
},
{
"mac": "cmd+0",
"key": "ctrl+0",
"command": "extension.runSpec"
}
]
Available settings
// command prefix to execute rspec
"quickRspec.commandPrefix": "bundle exec rspec",
This extension is not available on VSCode Marketplace. Install locally:
$ git clone https://github.com/mallowlabs/vscode-quick-rspec.git
$ mv vscode-quick-rspec $HOME/.vscode/extensions/
And restart your VSCode. Enjoy!