<?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[Using &#x5C;&#x5C; as the start to a comment line]]></title><description><![CDATA[<p dir="auto">How do I add a style to the sql language (or any language) to recognize \ as the beginning of a comment and highlight it as such?  I’m copy code from my Jitterbit scripts which is based on Salesforce SQL.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18786/using-as-the-start-to-a-comment-line</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 23:20:45 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18786.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Jan 2020 21:37:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using &#x5C;&#x5C; as the start to a comment line on Fri, 17 Jan 2020 22:13:30 GMT]]></title><description><![CDATA[<p dir="auto">Expanding a builtin language for anything other than a keyword is not something you can do without access to the source code.</p>
<p dir="auto">You could use a <a>User Defined Language</a>, but you’d probably feel it didn’t meet all your needs.  If that was enough, a UDL will allow <code>\\</code> to mark a comment line, like so:<br />
<img src="/assets/uploads/files/1579299154962-f71846ac-63a9-4a88-b670-384ca07fe399-image.png" alt="f71846ac-63a9-4a88-b670-384ca07fe399-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">However, you can add extra highlighting to a builtin lexer (like the SQL lexer) using regexes via the script <code>EnhanceAnyBuiltinLexer.py</code> that <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> shares <a href="https://notepad-plus-plus.org/community/topic/17283/perl-language-syntax-highlighting-troubles-bug-or-limitation/111" rel="nofollow ugc">in this linked post</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/49953</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49953</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Jan 2020 22:13:30 GMT</pubDate></item></channel></rss>