An open API service indexing awesome lists of open source software.

https://github.com/Maples7/vscode-terminal-inplace

[VSCode Extension] Launch your own vscode terminal in the directory of your focus file.
https://github.com/Maples7/vscode-terminal-inplace

terminal vscode vscode-extension vscode-terminal

Last synced: 11 months ago
JSON representation

[VSCode Extension] Launch your own vscode terminal in the directory of your focus file.

Awesome Lists containing this project

README

          

# Terminal In Place

[![https://marketplace.visualstudio.com/items?itemName=Maples7.terminal-inplace](https://vsmarketplacebadge.apphb.com/version/Maples7.terminal-inplace.svg)](https://marketplace.visualstudio.com/items?itemName=Maples7.terminal-inplace)

[VSCode Extension] Launch your own vscode terminal in the directory of your focus file.

## Usage

There are 2 ways to use this extension in [VSCode](https://code.visualstudio.com/):

1. Use shortcut **alt+ctrl+`** to launch an inner terminal whose current working directory is the directory in where your open focus file stays. As we all know, by default in VSCode, ctrl+` can toggle the inner terminal and this is unchanged. That's to say, by adding an `alt`, we make a candy for the inner terminal in VSCode.
2. Open Command Palette in VSCode and find `Terminal In Place` command to execute.

If your open focus file stays in an existing directory, the terminal would `cd` to that directory automatically. Otherwise(the _Welcome Page_ of VSCode just lays in an inexistent or a temporary directory), a standard inner terminal would be created.

See the snippet:

![Snippet demo](images/snippet.gif)

## Installation

1. Open [Visual Studio Code](https://code.visualstudio.com/)
2. Press `Ctrl+P` to open the Quick Open dialog
3. Type `ext install Terminal In Place` to find the extension
4. Click the `Install` button, then the `Enable` button

OR

1. Open the Extensions tab in [Visual Studio Code](https://code.visualstudio.com/)
2. Type `Terminal In Place` to find the extension
3. Click the `Install` button, then the `Enable` button

## LICENSE

[GPLv3](./LICENSE)