Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way of making the Active Tab Border highlighted on top instead of at the bottom?

With the tab.activeBorder you can highlight the bottom of the active tab, but how do you highlight the top of the tab instead, like in Firefox's current design?

An example of highlighting with tab.activeBorder:

"workbench.colorCustomizations": {    // Can customize each aspect
    "[One Dark Pro]": {               // Optional
        "tab.activeBorder": "#0A84FF" // Active Tab Highlighting
    }
},
like image 959
Philippe Fanaro Avatar asked Nov 30 '19 23:11

Philippe Fanaro


5 Answers

You can visit the Theme Color VS Code web page to get more information on this.

Open your user settings.json (Ctrl + ,)

Two lines below the tab.activeBorder, you will find tab.activeBorderTop, which does exactly what you intended.

"workbench.colorCustomizations": {       // Can customize each aspect
    "[One Dark Pro]": {                  // Optional
        "tab.activeBorderTop": "#0A84FF" // Active Tab Top Highlighting
    }
},
like image 172
Philippe Fanaro Avatar answered Nov 08 '22 05:11

Philippe Fanaro


you can add this to .vscode/settings.json

"workbench.colorCustomizations": {
    "tab.activeBorder": "#ff0000",
    "tab.unfocusedActiveBorder": "#000000"
}

It looks like this

enter image description here

like image 43
tbo47 Avatar answered Nov 08 '22 05:11

tbo47


You can also colorize background of tab:

"workbench.colorCustomizations": {
    "tab.activeBackground": "#0000ff"
}
like image 21
Zvezdochka Avatar answered Nov 08 '22 05:11

Zvezdochka


  1. Go to Settings
  2. Type colorCustomizations in the link at the top
  3. Against the option "Workbench: Color Customizations" select "Edit in settings.json" as shown in the image below enter image description here
  4. Now add JSON values such as
    "workbench.colorCustomizations": {
        "tab.activeBorderTop": "#12ff00",
        "tab.activeBackground": "#c41111"
    }
    
    
like image 29
Amol Avatar answered Nov 08 '22 06:11

Amol


Just to chime a little. Once you are in the json settings files and you have helper turned on (I forget what that setting is called), you can see a popup of all the options when you type the opening quote: settings options popup with all the options Hovering over the options also shows the description:description while hovering

like image 37
Thomas Oatman Avatar answered Nov 08 '22 05:11

Thomas Oatman