I want to change the default terminal app used by Visual Studio Code for Mac. I am thinking it is part of preferences or settings json, but unsure.
相关问题
- Extended message for commit via Visual Studio Code
- Where are Automatic Type Acquisition typescript de
- Typescript: Why doesn't visual studio code rep
- .NET Core 3.1 CreateHostBuilder Cannot parse JSON
- Execute C program till Ctrl+C hit in the terminal
相关文章
- Visual Studio Code, MAC OS X, OmniSharp server is
- Omnisharp in VS Code produces a lot of warnings ab
- Emacs/xterm color annoyance on Linux
- Visual Studio Code command for “repeat last comman
- make GitX open via Terminal for the repo laying at
- VSCode remove warnings from problems tab
- Configure a TypeScript project with common depende
- Visual Studio Code disabling Normal, Edit and Visu
For those that want to change the default integrated terminal NOT just the external, and add
custom themes
, show whichgit branch
you are on, and whether or not files need to bestaged or committed
for example.Follow these short steps:
Make sure you have these installed:
Install a
powerline font
(I am using Menlo which is a nice looking and very popular font).Open the .zshrc file by running this command:
Change iTerm's theme to
agnoster
:Open vscode settings using shortcut:
Inside of vscode settings, you will see two panels. On the right panel paste this:
Assuming the settings were empty before, it should now look like this:
Finished! Enjoy your new iced out terminal
-(Optional customization)-
If you want your prompt to display something other than your username such as a thunder bolt, like in mine or anything you want
Open agnoster theme by runnning this command:
Open search by pressing:
Paste this in search bar:
To change your what your prompt displays, edit ONLY this part:
DO NOT CHANGE this part:
In conclusion, the code should now look something like this:
Here's an example of how to make another terminal the default for VSCode, in this example I've downloaded iTerm2 and copied iTerm2 to Applications.
"terminal.external.osxExec": "iTerm.app"
and"terminal.explorerKind": "external"
I recently changed my terminal in VSCode to ozh, its just 1 step and 1 line.
Open
Command Palette
usingView > Command Palette
( or simplyCommand + Shift + P
)add the following line to the
user settings
."terminal.integrated.shell.osx": "zsh"
No. But you can vote for this feature here: https://visualstudio.uservoice.com/forums/293070-visual-studio-code
well I know it's so late, but you could just change it by running command
its so much easier
From visual studio code blog:
Reference: Integrated Terminal