Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>keepHighLightNew to Visual Studio Code? Get it now.
keepHighLight

keepHighLight

limingfang

|
2 installs
| (0) | Free
光标放在变量或者方法上执行此指令,执行后,在此文件中的当前作用域中此元素出现的所有地方背景色高亮,同时侧边栏会标记出高亮位置。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

高亮插件

指令:hl.hl

光标放在变量或者方法上执行此指令,执行后,在此文件中的当前作用域中此元素出现的所有地方背景色高亮,同时侧边栏会标记出高亮位置。 光标放在高亮的部分,再次执行指令,高亮取消,侧边栏高亮位置也会取消。

在标记颜色后,鼠标移动,点击其他行,不会影响颜色的显示,颜色一直保留,直到关闭此文件或者主动取消高亮。

主要用于查看复杂代码中的某个元素或者方法出现的地方

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft