Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Jump to TestsNew to Visual Studio Code? Get it now.
Jump to Tests

Jump to Tests

Preview

Diego Schmidt

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

Jump to Tests

version number install count

Switch between the code and the test file.

Features

On MacOS, press Shift+Cmd+T.

On Windows / Linux, press Shift+Ctrl+T.

Extension Settings

You can add your own formats by editing jump-to-tests.rules.

Here"s what it would look like to add Ruby on Rails support:

"jump-to-tests.rules": [
  {
    "extensions": [
        { "ext": ".ts", "testExt": [".test.ts", ".test.tsx"] },
        { "ext": ".tsx", "testExt": [".test.tsx", ".test.ts"] },
    ],
    "srcDirs": ["src", "client", "server"],
    "testDirs": ["src/test", "src/__tests__", "tests/client", "tests/server", "test", "__tests__"]
  }
]

Release Notes

See CHANGELOG.md.

Similar Projects

  • Test Switcher (Based on this)
  • Rails Go to Spec
  • File Switcher
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft