简体   繁体   English

VSCode 中当前打开文件的高亮显示

[英]Highlight of the current open file in VSCode

Is there a way to highlight the current file open selected for edition in VSCode?有没有办法突出显示在 VSCode 中选择编辑的当前打开文件? Some themes show a underline in diferent color.一些主题显示不同颜色的下划线。 But I want that caractheristic in the default theme但我想要默认主题中的角色

在此处输入图像描述

You can modify any themes for Visual Studio Code.您可以修改 Visual Studio Code 的任何主题。

  1. Open the settings.json file.打开settings.json文件。
  • Open the command palette using F1使用F1打开命令面板
  • Type " open user settings json "输入“打开用户设置 json
  1. Add the following parameters in the opened file:在打开的文件中添加如下参数:

    "workbench.colorCustomizations": { "tab.activeBorderTop": "yourColor" } "workbench.colorCustomizations": { "tab.activeBorderTop": "yourColor" }

  2. Save the changes保存更改

在此处输入图像描述

PS You could see in the attached screenshot that the color of the top border in my active tab already changed. PS 你可以在附加的屏幕截图中看到我活动选项卡中顶部边框的颜色已经改变。 You could find many different options to modify visual stuff.您可以找到许多不同的选项来修改视觉内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM