Home >Development Tools >VSCode >vscode makes multiple windows have different colors by installing plug-ins

vscode makes multiple windows have different colors by installing plug-ins

王林
王林Original
2019-12-14 13:33:434242browse

vscode makes multiple windows have different colors by installing plug-ins

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:

vscode makes multiple windows have different colors by installing plug-ins

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn