Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>go-to-testNew to Visual Studio Code? Get it now.

go-to-test

futantan

|
368 installs
| (0) | Free
Switch between source file and test file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go To Test

This extension make it easier to navigate between source file and test file just like Intellij does.

Features

  • Open test file from source file
  • Open source file from test file

Usage

  • Using Go To Test or using shortcut cmd + shift + t

example

From To
/user/demo/sum.js /user/demo/__tests__/sum.test.js
/user/demo/sum.js /user/demo/__tests__/sum.spec.js
/user/demo/__tests__/sum.test.js /user/demo/sum.js
/user/demo/__tests__/sum.test.js /user/demo/sum.js

Not as you expected? New Issue welcome!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft