Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>terminal-to-hereNew to Visual Studio Code? Get it now.
terminal-to-here

terminal-to-here

caetanominuzzo

|
269 installs
| (2) | Free
Quick terminal directory change
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Terminal-To-Here Extension for Visual Studio Code

This extension, "terminal-to-here", provides three useful commands for interacting with the integrated terminal in Visual Studio Code:

  • cdToCurrentFile: Change the directory of the current terminal to the directory of the currently open file.
  • newTerminalInCurrentFile: Create a new terminal with its working directory set to the directory of the currently open file.
  • navigateUp: Change the current terminal's directory to the parent directory.

Terminal-To-Here Extension in Action

Features

  • Change the current terminal's working directory to match the currently open file's directory with cdToCurrentFile.
  • Open a new terminal with its working directory set to the currently open file's directory with newTerminalInCurrentFile.
  • Easily navigate up one directory level from the current terminal's location with navigateUp.

All three commands can be run from the Command Palette (View -> Command Palette, or Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux), or you can assign them to custom keyboard shortcuts through VS Code's Keyboard Shortcuts editor.

Requirements

This extension has no specific requirements or dependencies beyond Visual Studio Code itself.

Extension Settings

This extension does not add any settings to VS Code.

Known Issues

There are no known issues at this time. If you find a bug or have a feature request, please open an issue on the GitHub repository.

Release Notes

0.0.2

New extension icon.

0.0.1

Initial release of "terminal-to-here". Provides three commands:

  • cdToCurrentFile
  • newTerminalInCurrentFile
  • navigateUp

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft