How to integrate git bash in vs code editor

how to integrate bash in vs terminal enfblogs
how to integrate bash in vs terminal enfblogs

Visual Studio Code consists of a totally featured included terminal that effortlessly begins offevolved at the foundation of your workspace. It gives integration with the editor to help functions like hyperlinks and mistakess detection.

To open the terminal:

Use the Ctrl+` keyboard shortcut with the backtick character.

Use the View > Terminal menu command. From the Command Palette (Ctrl+Shift+P), use the View: Toggle Integrated Terminal command.

Git Bash Vs Vs Code :

GitBash is an application that provides git command line experience on the operating system. This is the command line shell to activate the gut along with the command line in the system. VS Code is a text editor that provides support for development operations and version control systems. It provides the user with tools to create hassle-free codes. Git bash integration with VS code. The following steps must be taken to integrate Gutbash with Visual Studio Code.

 

 

Step 1:

Open the terminal in VScode using the shortcut key Ctrl + using. Here you will see that right now, it has a power shell and we have to add Bash to it.

Step 2:

Then, you have to open the settings by pressing File-> Preferences-> Settings or Ctrl +. You must click Open Settings (JSON)

Step 3:

When clicked, you will see the settings page. You must first copy “terminal.integrated.shell.windows”: “C: I WINDOWS \\ System32 \\ WindowsPowerShell \\ v1.0 \\ powershell.exe” at the last of the programme.

Step 4:

And when you reopen the VS code, you will see that GitBash has been connected. You can now run the Git Bash command directly in VS code.

 

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
Exercise

7 Exercises That Will Boost Your Mobility and Flexibility

Next Post
swimming

Ten Healthy Sports