[英]PhpStorm / WebStorm color scheme - TypeScript / JavaScript - how to target injected service
I've just upgraded PhpStorm from version 2017.1.4 to 2017.3.4 and to my annoyance it has affected my color scheme. 我刚刚将PhpStorm从2017.1.4版本升级到了2017.3.4,但令我烦恼的是它影响了我的配色方案。 See screenshot:
看截图:
See my injected classes? 看到我注入的课程吗?
_builderService
, _loaderService
etc- both where they are declared in the constructor, and where they are later used in the code... _builderService
, _loaderService
等-在构造函数中声明的位置以及以后在代码中使用的位置...
They used to be yellow !!! 他们曾经是黄色的 !
Here's how it should look: 下面是它应该是什么样子:
I've looked in the color scheme settings both for Typescript and JavaScript and I can't see any relevant option to target them to change the color? 我已经查看了Typescript和JavaScript的配色方案设置,但看不到任何相关的选项可将它们作为目标来更改颜色?
The closest I can find is 'Instance member variable'- but it's not what I want, that's too generic. 我能找到的最接近的是“实例成员变量”,但这不是我想要的,太通用了。 Like I say, I used to be able to specifically target injected services to color them.
就像我说的那样,我曾经能够专门针对注入的服务进行着色。
Anyone...? 任何人...?
对此有一个更好的答案将是很棒的,但是到目前为止,我已经简单地降级到了2017.2.4版,我发现它仍然尊重配色方案,允许以Angular注入服务为目标(尽管我仍然不能找到控制此定位的配色方案设置)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.