A command that allows you to quickly switch between test and code.
Press ctrl+shift+a toggle between test/file.spec.js and file.js
Or use the command: Switch between Code/Test
ctrl+shift+a (macOS: cmd+shift+a)
For now, this plugin is not configurable and assumes the directory structure in the above example.
| Resource | URL |
|---|---|
| Repository | https://github.com/bjornua/vscode-switch-code-test |
| Marketplace Page | https://marketplace.visualstudio.com/items?itemName=BjornArnholtz.switch-to-spec |
V0.0.9: Add support for hybrid .ts/.js workflows (@martinslota)V0.0.8: Refactor and fix inconsistenciesV0.0.7: Add support for .ts and src folder (@martinslota)V0.0.6: /some/subdir/test folder location now supported (@papaendrou)V0.0.5: Ask before creating filesV0.0.4: Add support for alternative "tests" folderV0.0.3: Create path if it does not exist