[VSCode Extension] Launch your own vscode terminal in the directory of your focus file.
There are 2 ways to use this extension in VSCode:
- 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 analt
, we make a candy for the inner terminal in VSCode. - 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:
- Open Visual Studio Code
- Press
Ctrl+P
to open the Quick Open dialog - Type
ext install Terminal In Place
to find the extension - Click the
Install
button, then theEnable
button
OR
- Open the Extensions tab in Visual Studio Code
- Type
Terminal In Place
to find the extension - Click the
Install
button, then theEnable
button