Skip to content

A Visual Studio Code extension that switches between code, and a corresponding test file

Notifications You must be signed in to change notification settings

martinslota/vscode-switch-code-test

 
 

Repository files navigation

Switch between Code/Test

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

Default keybinding:

ctrl+shift+a (macOS: cmd+shift+a)

Requirements

For now, this plugin is not configurable and assumes the directory structure in the above example.

Resources

Resource URL
Repository https://github.com/bjornua/vscode-switch-code-test
Marketplace Page https://marketplace.visualstudio.com/items?itemName=BjornArnholtz.switch-to-spec

Changelog

  • V0.0.6: /some/subdir/test folder location now supported (@papaendrou)
  • V0.0.5: Ask before creating files
  • V0.0.4: Add support for alternative "tests" folder
  • V0.0.3: Create path if it does not exist

About

A Visual Studio Code extension that switches between code, and a corresponding test file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%