Try using VSCode's integrated terminal

Hello.
I'm Mandai, the Wild team member in charge of development.
Visual Studio Code (VSCode) is renowned for becoming more user-friendly the more you use it.
This time, we'll introduce some handy tips for making the terminal more convenient, specifically for Windows users.
Command Line Tool Defaults
This applies to the command line or PowerShell.
If you want to use a shell environment other than the default, add the following setting to settings.json.
{ // Standard Windows command line // "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe" // PowerShell // "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe" // Git Bash // "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe" // Bash on Ubuntu //"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe" }
To edit settings.json, press Ctrl + P and enter settings
It seems that you cannot use multiple shells, so you will have to choose one of the four shells that you are familiar with
If you want a Linux-like shell, you have to use Git Bash or Bash on Ubuntu (Insider Preview required), so it's a bit of a pain that you can't use it in its original state, but it's probably more efficient to use an environment you're familiar with, so a little bit of effort is unavoidable
Useful keyboard shortcuts for the VSCode terminal
VS Code is designed so that you can do most things without a mouse.
It also has some great shortcuts for the terminal, so I've put them together in a table.
| Ctrl + @ | Show/hide terminal |
|---|---|
| Ctrl + Shift + @ | Open a new terminal (open one if it's not already open) |
| Ctrl + K | Clearing the Terminal |
| Ctrl + Up | Scroll up one line at a time |
| Ctrl + Down | Scroll down one line at a time |
| Ctrl + Page Up | Scroll up one screen |
| Ctrl + Page Down | Scroll down one screen |
| Ctrl + Home | Scroll to the top of the terminal |
| Ctrl + End | Scroll to the end of the terminal |
| In the command palette, type ">trs" |
Copy the selected string and run it in the terminal In this regard, the Command Palette allows you to narrow down your search using spaces, so the combinations are endless. Try to come up with your own combinations As new features are added, it may become difficult to narrow down your search to one item |
| Ctrl + c | On Windows, you don't need to press the Shift key to copy |
| Ctrl + v | On Windows, you don't need to press the Shift key to paste |
Note that there are no shortcut keys assigned for shifting focus to a terminal, moving to the previous or next terminal if multiple terminals are running, or killing a terminal, so you will need to set these yourself
By the way, if you want a command prompt in a separate window, press "Ctrl + Shift + c".
To change the terminal that opens in this case, change the value of the key "terminal.external.windowsExec" in settings.json.
The value you put herethe string in this JSONcan be the same as
That's all
0
