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.
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: