Search code examples
intellij-ideasyntax-highlightingwebstormbacktickstemplate-literals

Text highlighting for ES6 template literals (backticks) in IntelliJ IDEA


Where should I look in the settings to remove the green background highlighting for text within the backticks? I think it is related to HTML in non-HTML files, probably it has nothing to do with quotes or backticks. I've been searching through settings the best I could.

enter image description here


Solution

  • I finally found the answer. I'll let this stay in case anyone else wonders.

    Editor -> Colors & Fonts -> General -> Injected language fragment -> Uncheck background on the right side panel

    Cheers

    enter image description here