Created
September 7, 2021 20:56
-
-
Save shelooks16/8f849adbd9c8617c9170fd5e38f87c3e to your computer and use it in GitHub Desktop.
Vscode configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// security trust window, open = not shown | |
"security.workspace.trust.untrustedFiles": "open", | |
// configure git-bash (windows-only for git-bash users) | |
"terminal.integrated.profiles.windows": { | |
"Git Bash": { | |
"path": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"args": ["-l", "-i"] | |
} | |
}, | |
"terminal.integrated.defaultProfile.windows": "Git Bash", | |
// prettier | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
} | |
} |
@TheNemus and @shelooks16 I got it... Thankyou sir
"terminal.integrated.profiles.windows": {
"GitBash": {
"path": "E:\importantfiles\Git\bin\bash.exe",
"icon": "terminal-bash"
}
},
"terminal.integrated.defaultProfile.windows": "GitBash",
"git.enabled": true,
"git.path": "E:\importantfiles\Git\bin\bash.exe"
error in esbenp
be sure the path of your git-bash.exe is right. VS Code accept the terminal instance only if it can actually find the .exe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kisuu987
have you tried watching video reference posted above? If nothing helps, to not stop at this point you can proceed further with Powershell/CMD as vscode integrated terminal. It's ok