How to stop VSCode having colored tab names - visual-studio-code

Since some recent update, VSCode started adding colors to tab names as seen here:
The blue, orange. No idea what the colors mean.
But I want to turn it off and have all tabs be black if it's possible.

I assume you are using the Insiders' Build. You can disable those tab "decorations" with these settings:
Workbench > Editor > Decorations: Colors
Workbench > Editor > Decorations: Badges
Those would override your tab foreground if you don't disable them.
Then you color your tab colors if you need to.

Go to settings.json and paste
"tab.inactiveForeground": "#000000",
"tab.activeForeground": "#000000",
The first one is for the color of the inactive tab name and the second one is for the color of the active tab name.
P.S. don't forget to put it inside
"workbench.colorCustomizations": {
"tab.inactiveForeground": "#yourcolor",
"tab.activeForeground": "#yourcolor",
}

Related

How can I customize some of the Explorer's background colours for the selected item in VS Code?

I have simply question. How can i set background color for active file in unfocused sidebar in Visual Studio Code. In the picture, you can see it a little bit.
Also i'd like to ask you for another 2 things about customization.
How can i set border color on hover with transparent background.
How to set background color for active file in focused sidebar.
At the time of this writing, there are no dedicated settings for the explorer's listing colours. There are settings for list colours in general.
The settings you are looking for are:
"workbench.colorCustomizations": {
"list.inactiveSelectionBackground": "#880000",
"list.activeSelectionBackground": "#ff0000",
"list.hoverBackground": "#ff0000",
}
If you have set "explorer.autoReveal": false, you may want to remove that or set that to true.

Change text highlight settings in Visual Studio Code for macOS

In Visual Studi Code for macOS (Version: 1.72.2), how do I change the settings for how certain text is highlighted. In the include screenshot, the highlight for the Find result (the word buret in buret.addEventListener is barely noticeable among the other highlighted words (button, enable, etc.)
Thanks in advance!
Searched through settings which is far too big to easily find it.
You can customize your theme colors. The colors you are looking for are your editor colors.
Press Ctrl+Shift+P to bring up the command palette and run the Preferences: Open JSON Settings command. Add the following lines to your configuration:
"workbench.colorCustomizations": {
"editor.findMatchBackground": "#00ff00",
"editor.findMatchHighlightBackground": "#ff0000",
},
This will change the background color of the active find match to green and of all other find matches to red. Adjust the colour values as you like.

how to change vscode workspace title colors

When working with multiple workspaces, I would love to be able to change the color of each sidebar menu title. Either the font, or the background color. In this example, there would be four colors. Is this possible?
the setting that seems to work is:
"workbench.colorCustomizations": {
"sideBarSectionHeader.background": "#ccff00"
},
however, this controls the color for all sideBarSectionHeaders.
i believe i can modify individual headers in by changing the settings in the .code-workspace file. cmd + p, >, "open workspace settings (JSON)".

eclipse dark theme cannot show the tab property

when using eclipse Dark Theme, some tab is very difficult to see its content as it show all white as below (the red highlighted), any method to prevent it?
These colors can be configured and are not the default colors of the dark theme. This misconfiguration could have been done manually or happened by installing or using a third-party plug-in.
You can see if it is a misconfiguration by switching to a new workspace without copying the settings.
In this case, go to Window > Preferences: General > Appearance > Colors and Fonts edit the color in View and Editor Folders or hit Restore Defaults.
go to Window > Preferences > Appearance
-there you can select dark background
-click on "Apply and Close"
now to get the tabs working go to Window > Preferences > Appearance > Colors and Fonts
edit the following and set to color black
-Active (no focus), selected part foreground
-Active selected part foreground
-Inactive, selective part foreground
-click on "Apply and Close"

Change Visual Studio Code's title bar color

Is there a way to change the Title Bar color for Visual Studio Code (v1.26.0)?
Menu File → Preferences → Settings
Look for "window.titleBarStyle": "native", copy it to your user settings, and change it to "window.titleBarStyle": "custom". It will adapt your theme now.
If the current color is not what you want or you want to tweak it, try doing this.
In your user settings, add the following.
"workbench.colorCustomizations": {
"[Name of the Current Theme you are using]": {
"titleBar.activeBackground": "#191919cc",
"titleBar.activeForeground":"#ffffff",
},
},
"window.titleBarStyle": "custom"
Open menu File → Preferences → Settings and add the following setting:
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#553955" // Change this color!
},
"window.titleBarStyle": "custom"
From the following source:
Colorful Visual Studio Code titlebars for better productivity
There is now a handy Visual Studio Code marketplace plugin called Window Colors which automatically colors the activitybar and titlebar of every window uniquely.
Just go to extensions and type: window colors
For more information, see the Visual Studio Code marketplace webpage.
Edit (Sept 2020): Just noticed that on Ubuntu 20.04 I had to set the preferences->titlebar setting from native to custom in the VSCode Preferences. Otherwise the titlebar does not change colors. Also see this issue on github here- the input from #musicfuel solved it for me.
John Papa launched Peacock a few months back. I've been using the same since then.
It's an easy-to-use plugin with a great set of commands to work with.
It is highly customize-able.
Also it has emphasis on BrandColors which comes in handy when you're simultaneously working on several different projects involving different frameworks and libraries.
In case somebody is still interested. I am using Color Stamp plug
For further tweaks, I changed the following parameters in my vscode project settings
.vscode\settings.json
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#7C21D7",
"titleBar.border": "#ebe8e8",
"titleBar.inactiveBackground": "#7c21d77c",
"titleBar.activeForeground": "#ebe8e8",
"statusBar.background": "#7C21D7",
"statusBar.debuggingBackground": "#7C21D7",
"statusBar.noFolderBackground": "#7C21D7",
"statussBar.prominentBackground": "#7C21D7",
"statusBar.foreground": "#ebe8e8"
}
Note that VSCode 1.45 (April 2020) will offer additional settings:
New theme colors for editor tabs
Some new colors where added to further theme workbench editor tabs:
tab.unfocusedInactiveBackground: Inactive tab background color in an unfocused group
tab.hoverForeground: Tab foreground color when hovering
tab.unfocusedHoverForeground: Tab foreground color in an unfocused group when hovering
New theme color for editor title border
The existing color editorGroupHeader.tabsBorder changed to render a border below tabs but above breadcrumbs.
A new color editorGroupHeader.border allows to render a border below the editor group header (i.e. below breadcrumbs if enabled) to restore the previous behaviour of editorGroupHeader.tabsBorder.
Please apply these simple steps.
Menu File → Preferences → Settings
Look for "window.titleBarStyle": "native", and change it to "window.titleBarStyle": "custom". It will adapt your theme now.
If the current color is not what you want or you want to tweak it, try doing this.
In your user settings, add the following.
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#191919cc",
"titleBar.activeForeground":"#ffffff",
},
I've created a simple Visual Studio Code plugin which accepts a list of regular expressions and colors and changes the titleBar based on them. It's great for working on mono repositories or large projects with multiple packages (like Lerna, or React + React Native)
ColorTabs
Changing the theme of Visual Studio Code will change the title bar color.
Menu File → Preferences → Color theme
Then switch to a different color theme, this will change the title color.