最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - WebStorm - Hide 'template literals' highlighting - Stack Overflow

programmeradmin2浏览0评论

I've just switched from Atom to WebStorm as development platform. I'm rather new to Angular and JavaScript, but having a fully fledged IDE seems a bit better for me to figure out where errors are ing from.

I'm experiencing one little annoyance... I can't seem to find how to disable the multiline (template literal, I believe it's called) highlighting of the backticks (`). This is what it looks like:

Could someone please help me figure out how I can disable it?

I've just switched from Atom to WebStorm as development platform. I'm rather new to Angular and JavaScript, but having a fully fledged IDE seems a bit better for me to figure out where errors are ing from.

I'm experiencing one little annoyance... I can't seem to find how to disable the multiline (template literal, I believe it's called) highlighting of the backticks (`). This is what it looks like:

Could someone please help me figure out how I can disable it?

Share Improve this question asked Jul 19, 2016 at 11:31 CakeCake 5031 gold badge7 silver badges17 bronze badges 4
  • 1) So .. you just want to remove that green background color? 2) AFAIK you cannot disable it just there .. it will affect all similar places (where such functionality is used) -- is that OK? – LazyOne Commented Jul 19, 2016 at 11:52
  • Yeah it's that green 'background' color, that is displayed between the two backticks (`). You sure there is no way to disable it? I don't mind sacrificing the other functionality with it. @LazyOne – Cake Commented Jul 19, 2016 at 13:09
  • My #2 means: that background color can be removed .. but it will also be removed from other similar places. No actual functionality will be lost -- you will just loose an indication of such places (sometimes it's very helpful to see what is going on .. as in some cases where user configures IDE in a wrong way (accidentally or by mistake) such color allows to diagnose the issue straight away instead of wondering for eternity for possible reasons) – LazyOne Commented Jul 19, 2016 at 13:17
  • @LazyOne Gotcha! Thanks for the help, I appreciate it! – Cake Commented Jul 19, 2016 at 14:19
Add a ment  | 

2 Answers 2

Reset to default 8

UPDATE

Go to

Preferences > Editor > Color Scheme > General > Code > Injected language fragment

and untick the Background option:

Editor screenshot

Found it! You can disable this by going to the Preferences > Editor > General > Injected Language Fragment > un-tick the 'background color'.

发布评论

评论列表(0)

  1. 暂无评论