Due to maintaining multiple projects at the same time, in order to distinguish them by window color and add some simple tricks to the boring window page of the programming environment, use the vscode plug-in: Windows Color or Peacock.
This article uses the latter. The former can be downloaded and installed directly, while the latter has more tricks.
Peacock
The easiest way to use it is to download and install it, command shift p
Open the command window and enter: peacock
There will be change To a Favorite color
, after selection, use the up and down keys to switch to a favorite color and set it for the current project.
After use, the .
vscode/setting.json
file
will be created in each code project that is opened. In this way, git will prompt the To change the file, you need to use the global .gitignore file of the git system to cancel the track of the file.
touch ~/.gitignore_global
Add .vscode to the file then
git config --global core.excludesfile ~/.gitignore_global
and then restart vscode.
As shown in the picture:
Four projects from left to right: API, Admin, Www, and Vue:
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of vscode makes multiple windows have different colors by installing plug-ins. For more information, please follow other related articles on the PHP Chinese website!