<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[javascript back-tick quoted strings bad color]]></title><description><![CDATA[<p dir="auto">Using Notepad++ v6.8.8 and v6.9 on Windows</p>
<p dir="auto">Steps to reproduce:</p>
<ol>
<li>Set syntax to “Javascript”</li>
<li>Write a template string: <code>`test${1234}test`</code></li>
</ol>
<p dir="auto">Actual behavior:<br />
The whole string turns white and can’t be read on white background.</p>
<p dir="auto">Expected behavior:<br />
The string should be formatted using a color more appropriate for strings.<br />
There should be an option in the “Stiles”-Dialog for changing the color of these template strings.<br />
The expression parts should be highlighted in another color than the template string.</p>
<p dir="auto">I’ve also read, that template strings in script tags should be implemented for HTML and PHP highlighting, but there they don’t actually have a special highlighting.</p>
<p dir="auto">btw, the submit button for this board isn’t visible when the with of the browser window is to small (right screen half)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/11366/javascript-back-tick-quoted-strings-bad-color</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 16:21:45 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/11366.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Feb 2016 19:48:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Tue, 06 Apr 2021 00:59:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lajos-m%C3%A9sz%C3%A1ros" aria-label="Profile: Lajos-Mészáros">@<bdi>Lajos-Mészáros</bdi></a> said in <a href="/post/64666">javascript back-tick quoted strings bad color</a>:</p>
<blockquote>
<p dir="auto">Having to fiddle around with the colors in the settings just to not have white text on the active line, which is also colored with white background is a bummer,</p>
</blockquote>
<p dir="auto">Well, “bummers” in life exist.  Perhaps consider how many positive things have come from your usage of N++, and reconsider how much of a bummer something like what you are talking about is.</p>
<p dir="auto">But… unless you are going to provide more information, perhaps about what theme you are using (and BTW, if you are choosing a non-default theme you are “slowing yourself down” instead of getting to work “immediately” on a new PC), then I don’t think anyone is going to be able to help more than Peter already has.</p>
<p dir="auto">I see the same results as Peter, that is, no issue.  I even “scrolled thru” all of the themes that N++ offers in order to try and see the effect you are observing, and I can’t duplicate it.  A trick to quickly evaluate all of the themes is to set up your conditions (in this case (backtick)test${1234}test(backtick) in a JavaScript file) and then open the <em>Style Configurator</em> and point to the <em>Select theme:</em> dropdown, and, here’s the key part: scroll the mouse wheel.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64668</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64668</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 06 Apr 2021 00:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 05 Apr 2021 23:52:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lajos-m%C3%A9sz%C3%A1ros" aria-label="Profile: Lajos-Mészáros">@<bdi>Lajos-Mészáros</bdi></a> said in <a href="/post/64666">javascript back-tick quoted strings bad color</a>:</p>
<blockquote>
<p dir="auto">I guess the answer lies within your last paragraph. I’m usually sticking to all default settings, so that if I have to go to a different PC and install NPP I can start working immediately and not having to adjust stuff or load settings from a pendrive or a repository, etc.</p>
</blockquote>
<p dir="auto">Interesting. You claim that you use the default settings, but I have never changed the styling for JavaScript STRINGRAW.  The default setting is blue on a grey background for the STRINGRAW, with white background text.  If you really mean, “default settings but change the theme”, then I’ll grant you that.  But a fresh notepad++, out of the box, with no settings changes, has the styles I showed in my screenshot.</p>
<p dir="auto">I just unzipped the portable v7.9.5-64bit downloaded via the official downloads page at <a href="https://notepad-plus-plus.org/downloads/v7.9.5/" rel="nofollow ugc">https://notepad-plus-plus.org/downloads/v7.9.5/</a>, which points to the zipfile at the official repository at <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.9.5/npp.7.9.5.portable.x64.zip" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.9.5/npp.7.9.5.portable.x64.zip</a> , and confirmed that blue-on-grey is default for STRINGRAW in the default stylers.xml, no theme selected.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64667</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64667</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 05 Apr 2021 23:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 05 Apr 2021 23:33:41 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the detailed information! Since google showed this page as the first result for searching on template literals not looking good in notepad++ I thought this page is a bug tracker or something, which is hopefully read by the authors/maintainers of NPP. One of the key reasons I usually recommend people to install NPP on their devices is that it’s so useful and complete as is right out of the box without any tweaking. Having to fiddle around with the colors in the settings just to not have white text on the active line, which is also colored with white background is a bummer, but I guess the answer lies within your last paragraph. I’m usually sticking to all default settings, so that if I have to go to a different PC and install NPP I can start working immediately and not having to adjust stuff or load settings from a pendrive or a repository, etc.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64666</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64666</guid><dc:creator><![CDATA[Lajos Mészáros]]></dc:creator><pubDate>Mon, 05 Apr 2021 23:33:41 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 05 Apr 2021 17:10:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lajos-m%C3%A9sz%C3%A1ros" aria-label="Profile: Lajos-Mészáros">@<bdi>Lajos-Mészáros</bdi></a> said in <a href="/post/64658">javascript back-tick quoted strings bad color</a>:</p>
<blockquote>
<p dir="auto">So it’s been over 5 years now since the ticket have been opened and the issue still stands to this day with version 7.9.5. Is there any update on this? It kinda makes notepad++ useless for viewing javascript files utilizing ES6+ features.</p>
</blockquote>
<p dir="auto">What ticket?  This is a forum of the community – ie, fellow users.  This Topic is just a disucssion of a problem a user had.   Feature requests and bug reports will not get official attention in this forum, as explained in <a href="/topic/15741">this FAQ</a></p>
<p dir="auto">And which “issue” still stands?  The original post from years ago was about raw strings in backticks.<br />
<img src="/assets/uploads/files/1617642265869-816d007b-d853-4120-9a41-dc6d04132c61-image.png" alt="816d007b-d853-4120-9a41-dc6d04132c61-image.png" class=" img-fluid img-markdown" /><br />
It highlights exactly as defined by the STRINGRAW style, so there’s no bug or problem.</p>
<p dir="auto">If you don’t like the color in STRINGRAW, then set your own color.</p>
<p dir="auto">If you don’t see STRINGRAW in the Style Configurator, then your config file is out of date.  Just delete <code>%AppData%\Notepad++\stylers.xml</code> and restart Notepad++, and it will go back to the modern defaults with all the modern styles correctly defined.</p>
<p dir="auto">If you are using a theme, then the theme itself hasn’t been updated, and you will have to manually edit the appropriate theme’s .xml from <code>%AppData%\Notepad++\themes\____.xml</code> to add in the config lines that they are missing – you can compare to stylers.xml or to the <code>stylers.model.xml</code> that is in the main executable directory.</p>
<p dir="auto">FYI: themes are something that are distributed with Notepad++, but not maintained by the core development team – most were added years ago by some other user who had created a cool theme, but never came back to update them as Notepad++ added more features and more styles/languages.  If no one submits a PR to fix a theme, that theme will stay permanently out-of-date.  So before you complain about that, ask yourself if you are willing to take on maintenance of that theme</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64660</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64660</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 05 Apr 2021 17:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 05 Apr 2021 16:40:50 GMT]]></title><description><![CDATA[<p dir="auto">So it’s been over 5 years now since the ticket have been opened and the issue still stands to this day with version 7.9.5. Is there any update on this? It kinda makes notepad++ useless for viewing javascript files utilizing ES6+ features.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64658</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64658</guid><dc:creator><![CDATA[Lajos Mészáros]]></dc:creator><pubDate>Mon, 05 Apr 2021 16:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Thu, 22 Aug 2019 13:55:46 GMT]]></title><description><![CDATA[<p dir="auto">This is still an issue in v7.7.1</p>
<p dir="auto"><img src="https://i.imgur.com/ayWgFzl.png" alt="screenshot showing unreadable highlighting" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/46478</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46478</guid><dc:creator><![CDATA[Flying Crowbar]]></dc:creator><pubDate>Thu, 22 Aug 2019 13:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Tue, 07 Jun 2016 05:04:31 GMT]]></title><description><![CDATA[<p dir="auto">I removed the stulers and lang.xml. Notepad recreates them indeed. The files are bit shorter but this did not fix the formatting anyhow.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16268</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16268</guid><dc:creator><![CDATA[Valentin Tihomirov]]></dc:creator><pubDate>Tue, 07 Jun 2016 05:04:31 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 07 Mar 2016 14:31:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/codemanx47" aria-label="Profile: CoDEmanX47">@<bdi>CoDEmanX47</bdi></a>,</p>
<p dir="auto">afaik embedded ;-) javascript is the one which gets recognized when used in html file.<br />
So, I’m not an expert in java script, I assume that this “clone” doesn’t have that functionality<br />
as it isn’t used/allowed/expected/?? in html file.</p>
<p dir="auto">Maybe someone else with a deeper understanding of embedded java script knows  more about it?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14542</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14542</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 07 Mar 2016 14:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Mon, 07 Mar 2016 11:26:49 GMT]]></title><description><![CDATA[<p dir="auto">I renamed <code>%appdata%\Notepad++\stylers.xml</code> as suggested and Notepad++ created a new one with the following additional entry for JavaScript:</p>
<pre><code>&lt;WordsStyle name="STRINGRAW" styleID="20" fgColor="FFFFFF" bgColor="808080" fontName="" fontStyle="0" fontSize="" /&gt;
</code></pre>
<p dir="auto">I can adjust the fore- and background color just fine in the style configuration inside Notepad++. Thanks!</p>
<p dir="auto">One more thing I noticed: There’s JavaScript (embedded)*, and there’s JavaScript. The former does not have the STRINGRAW style and is also lacking a few others that are available in the javascript.js style. The “embedded” label is cut off in the style configuration dialog, because the list box is too narrow.</p>
<p dir="auto">* actually “embbeded”, with a typo</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14539</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14539</guid><dc:creator><![CDATA[CoDEmanX47]]></dc:creator><pubDate>Mon, 07 Mar 2016 11:26:49 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Fri, 04 Mar 2016 13:26:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello Robert,</p>
<p dir="auto">when npp gets updated using the auto updater then langs, styles and config.xml don’t get updated<br />
to avoid that those configuration files, which can be/are configured by users gets overwritten.<br />
So I assume you don’t really have the latest langs und styles.xml.<br />
To test this you can temporarily rename the langs.xml and styles.xml to, let’s say langs.xml.old<br />
(stylers.xml.old) and rename langs.model.xml and stylers.model.xml to langs.xml (stylers.xml).<br />
The files are located in the npp install directory or when you have an %APPDATA% configuration,<br />
then under %APPDATA%\notepad++.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14502</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14502</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Fri, 04 Mar 2016 13:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Fri, 04 Mar 2016 12:35:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">I’m sorry, but i also dont got this Styles-Template (npp 6.9).</p>
<p dir="auto">Screenshot: <a href="http://imgur.com/GVezksS" rel="nofollow ugc">http://imgur.com/GVezksS</a></p>
<p dir="auto">Maybe you installed some Plugins/additional Stylesheets?</p>
<p dir="auto">KR, Robert</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14499</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14499</guid><dc:creator><![CDATA[kawinga]]></dc:creator><pubDate>Fri, 04 Mar 2016 12:35:50 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Thu, 03 Mar 2016 14:43:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/codemanx47" aria-label="Profile: CoDEmanX47">@<bdi>CoDEmanX47</bdi></a>,</p>
<p dir="auto">in npp 6.9 I do have it as seen <a href="http://imgur.com/PlBX71L" rel="nofollow ugc">here</a>.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14476</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14476</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 03 Mar 2016 14:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Thu, 03 Mar 2016 12:10:39 GMT]]></title><description><![CDATA[<p dir="auto">Do you mean there’s supposed to be an entry STRINGRAW in Options &gt; Styles… &gt; JavaScript? Well, there isn’t for me.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14471</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14471</guid><dc:creator><![CDATA[CoDEmanX47]]></dc:creator><pubDate>Thu, 03 Mar 2016 12:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Thu, 25 Feb 2016 21:12:56 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-kraus" aria-label="Profile: Karl-Kraus">@<bdi>Karl-Kraus</bdi></a></p>
<p dir="auto">isn’t it Style Configurator-&gt;Java script-&gt;STRINGRAW?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14289</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14289</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 25 Feb 2016 21:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to javascript back-tick quoted strings bad color on Thu, 25 Feb 2016 20:12:03 GMT]]></title><description><![CDATA[<p dir="auto">Edit: when putting the cursor on a new line, the template string will be displayed with gray background and white color. Somehow this seems like someone has accidentially switched forground and background color?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14286</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14286</guid><dc:creator><![CDATA[Karl Kraus]]></dc:creator><pubDate>Thu, 25 Feb 2016 20:12:03 GMT</pubDate></item></channel></rss>