简体   繁体   English

PhpStorm-如何识别哪个样式规则引用编辑器中的特定元素

[英]PhpStorm - how to identify which style rule refers to particular element in editor

I got particular element in the editor and I want to change color for it but I cant find which rule refers to it in settings. 我在编辑器中有特定的元素,我想为其更改颜色,但是我无法在设置中找到哪个规则引用了它。

Is there easy way to find it out? 有找到它的简便方法吗?

Other than posting a screenshot and pointing to the element in question? 除了发布屏幕截图并指向有问题的元素之外?

  1. Place caret on such element 将插入符号放在这样的元素上
  2. Invoke Help | Find Action... 调用Help | Find Action... Help | Find Action...
  3. Search for Jump to Colors and Fonts action 搜索Jump to Colors and Fonts操作
  4. Choose most suitable element from the list (if it will be more than one -- which might be based on the language). 从列表中选择最合适的元素(如果该元素不止一个-可能基于语言)。

在此处输入图片说明

在此处输入图片说明

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

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