<?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[How to auto color specific words opening text files]]></title><description><![CDATA[<p dir="auto">I have various log files, and text files with common words and errors that I grep.  If possible I would like to color code those terms/errors when I open those files.  Is this possible to do in NP++.</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20311/how-to-auto-color-specific-words-opening-text-files</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 03:11:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20311.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Nov 2020 23:53:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to auto color specific words opening text files on Mon, 16 Nov 2020 00:03:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ray-hamel" aria-label="Profile: Ray-Hamel">@<bdi>Ray-Hamel</bdi></a> ,</p>
<p dir="auto">Put the extension (no dot) in the <strong>Ext</strong> entry for your UDL<br />
<img src="/assets/uploads/files/1605484936170-8803e092-7da9-437c-b015-913a1e356545-image.png" alt="8803e092-7da9-437c-b015-913a1e356545-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">That was also explained in the UDL documentation already linked.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59725</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59725</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 16 Nov 2020 00:03:19 GMT</pubDate></item><item><title><![CDATA[Reply to How to auto color specific words opening text files on Sun, 15 Nov 2020 23:39:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/59707">How to auto color specific words opening text files</a>:</p>
<blockquote>
<p dir="auto">If you have an extension (like .log) that is common to all your logfiles, you can even use the UDL definition to associate that extension with your defined UDL, so Notepad++ will automatically format files with that extension using your UDL.</p>
</blockquote>
<p dir="auto">Thanks Peter, this is helpful.  Do you have a link or specific instructions on how to do this?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59724</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59724</guid><dc:creator><![CDATA[Ray Hamel]]></dc:creator><pubDate>Sun, 15 Nov 2020 23:39:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to auto color specific words opening text files on Sun, 15 Nov 2020 00:32:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ray-hamel" aria-label="Profile: Ray-Hamel">@<bdi>Ray-Hamel</bdi></a> ,</p>
<p dir="auto">That sounds like a job for User Defined Languages (UDL).  Basically, add keywords to the various groups when defining your language, and each of those keyword groups can have their own style setting.</p>
<p dir="auto">If you have an extension (like <code>.log</code>) that is common to all your logfiles, you can even use the UDL definition to associate that extension with your defined UDL, so Notepad++ will automatically format files with that extension using your UDL.</p>
<p dir="auto">More information on UDL:</p>
<ul>
<li>UDL Overview = <a href="https://npp-user-manual.org/docs/user-defined-language-system/" rel="nofollow ugc">https://npp-user-manual.org/docs/user-defined-language-system/</a></li>
<li>UDL Details = <a href="https://ivan-radic.github.io/udl-documentation/" rel="nofollow ugc">https://ivan-radic.github.io/udl-documentation/</a></li>
<li>Collection of pre-made UDL definitions = <a href="https://github.com/notepad-plus-plus/userDefinedLanguages" rel="nofollow ugc">https://github.com/notepad-plus-plus/userDefinedLanguages</a></li>
</ul>
<p dir="auto">If you have specific questions, feel free to ask.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59707</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59707</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 15 Nov 2020 00:32:09 GMT</pubDate></item></channel></rss>