VSCode-》首选项-》设置->-》搜color,找到:Workbench:Color Customizations,点击:在 settings.json 中编辑
加上 选中的文字内容的 配置
"workbench.colorCustomizations": {//设置用户选中代码段的颜色"editor.selectionBackground": "#f5f113","editor.selectionHighlightBackground": "#f5f113",//设置活动tab窗口颜色"tab.activeBackground": "#5f80629a"},
效果: