<?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[Default User Defined Language ?]]></title><description><![CDATA[<p dir="auto">Is there a way to make user defined language by default?<br />
I’ve been searching for 1h and the only thing I found are post from over 3 years ago, which are probably outdated.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18089/default-user-defined-language</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 21:01:05 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18089.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Aug 2019 22:01:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Default User Defined Language ? on Wed, 06 Sep 2023 21:33:44 GMT]]></title><description><![CDATA[<p dir="auto">Very old thread, but little hack-around I found. Suppose you want .md to be the default extension (and assuming your current default language is “None (Text)”:</p>
<ol>
<li>open langs.xml</li>
<li>just add the md extension to the “normal” language, i.e.</li>
</ol>
<pre><code>&lt;Language name="normal" ext="md txt"/&gt;
</code></pre>
<p dir="auto">Now md will be the default extension!</p>
<p dir="auto">By the way thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> for your md UDL!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89112</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89112</guid><dc:creator><![CDATA[Bobbster Lobster]]></dc:creator><pubDate>Wed, 06 Sep 2023 21:33:44 GMT</pubDate></item><item><title><![CDATA[Reply to Default User Defined Language ? on Thu, 15 Aug 2019 13:29:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said:</p>
<blockquote>
<p dir="auto">Oooh, is it cool? Care to share? :)</p>
</blockquote>
<p dir="auto">Not really cool; it’s just one I made before Don started shipping his Markdown UDL with Notepad++, and I got used to it’s quirks, so haven’t transferred over to using Don’s quirks instead.</p>
<p dir="auto">But if you want to try to convert your quirks:</p>
<pre><code>&lt;NotepadPlus&gt;
    &lt;UserLang name="Markdown" ext="md markdown readme" udlVersion="2.1"&gt;
        &lt;Settings&gt;
            &lt;Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /&gt;
            &lt;Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" /&gt;
        &lt;/Settings&gt;
        &lt;KeywordLists&gt;
            &lt;Keywords name="Comments"&gt;00# 01 02((EOL)) 03&amp;lt;!-- 04--&amp;gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, prefix1"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, prefix2"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, extras1"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, extras2"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, suffix1"&gt;.&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, suffix2"&gt;.&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, range"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Operators1"&gt;@ &amp;lt; &amp;gt; \&amp;lt; \&amp;gt; \\ \` \_ \{ \} \[ \] \( \) \# \+ \- \. \! \~ :|: |: :| | \|&lt;/Keywords&gt;
            &lt;Keywords name="Operators2"&gt;* - +&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Keywords1"&gt;http:// (http:// https:// (https:// mailto: (mailto: ftp:// (ftp:// ftps:// (ftps:// (/ / file:// (file://&lt;/Keywords&gt;
            &lt;Keywords name="Keywords2"&gt;==== ----&lt;/Keywords&gt;
            &lt;Keywords name="Keywords3"&gt;*** ___&lt;/Keywords&gt;
            &lt;Keywords name="Keywords4"&gt;** __&lt;/Keywords&gt;
            &lt;Keywords name="Keywords5"&gt;* _&lt;/Keywords&gt;
            &lt;Keywords name="Keywords6"&gt;** __&lt;/Keywords&gt;
            &lt;Keywords name="Keywords7"&gt;* _&lt;/Keywords&gt;
            &lt;Keywords name="Keywords8"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Delimiters"&gt;00![ 00[ 01\ 02] 02] 03``` 03` 03~~~ 04\ 05``` 05((EOL `)) 05~~~ 06*** 07\ 08((EOL ***)) 09** 10\ 11((EOL **)) 12* 13\ 14((EOL *)) 15** 16\ 17((EOL **)) 18* 19\ 20((EOL *)) 21~~ 22\ 23~~&lt;/Keywords&gt;
        &lt;/KeywordLists&gt;
        &lt;Styles&gt;
            &lt;WordsStyle name="DEFAULT" fgColor="333333" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="LINE COMMENTS" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="67108864" /&gt;
            &lt;WordsStyle name="NUMBERS" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS1" fgColor="408080" bgColor="FFFFFF" fontName="" fontStyle="4" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS2" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS3" fgColor="000080" bgColor="FFFFA0" fontName="" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS4" fgColor="400080" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS5" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="OPERATORS" fgColor="0000FF" bgColor="FFFF00" fontName="" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS1" fgColor="408080" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="CCFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS3" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS8" fgColor="C0C0C0" bgColor="FFFFFF" fontName="" fontStyle="4" nesting="0" /&gt;
        &lt;/Styles&gt;
    &lt;/UserLang&gt;
&lt;/NotepadPlus&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/46253</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46253</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 15 Aug 2019 13:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Default User Defined Language ? on Thu, 15 Aug 2019 13:24:56 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:</p>
<blockquote>
<p dir="auto">I have a customized Markdown UDL</p>
</blockquote>
<p dir="auto">Oooh, is it cool?  Care to share?  :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46252</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46252</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 15 Aug 2019 13:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to Default User Defined Language ? on Thu, 15 Aug 2019 13:17:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiarnoytooshort" aria-label="Profile: XiarnoYTooShort">@<bdi>XiarnoYTooShort</bdi></a> said:</p>
<blockquote>
<p dir="auto">how do do that?</p>
</blockquote>
<p dir="auto">How do you do what?  I assume you know how to save a file with a specific extension.  Given that you implied you already had a UDL, I had originally thought you would know how to add an extension to UDL, but if not: Go to <strong>Language &gt; Define your language</strong>, select your desired language from the pulldown, and in the <code>Ext.:</code> box, type the extension (without the dot, using spaces to separate multiple extensions) – so, for example, I have a customized Markdown UDL, so I entered <code>md markdown</code> in that box, so files that end in <code>.md</code> or <code>.markdown</code> utilize that UDL.</p>
<p dir="auto">If you happen to use an extension (like <code>txt</code>) that defaults to some other lanugage, Notepad++ will see that you used that extension for your UDL instead, and will apply the UDL rather than the default language for that extension.</p>
<blockquote>
<p dir="auto">second, mine is not a coding language</p>
</blockquote>
<p dir="auto">Notepad++ and UDL don’t care whether they are programming languages, text formatting languages, or anything else that you want to apply lexing, syntax highlighting, and/or folding to: it doesn’t matter whether you’re defining D-flat-plus-minus programming, Ultra-Markup-Markside-Ubertext, a specific flavor of XML-based markup, a syntax for making simple TODO lists with folding, or a movie subtitle file – they are all treated the same, and called a “language”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46250</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46250</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 15 Aug 2019 13:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to Default User Defined Language ? on Wed, 14 Aug 2019 22:21:17 GMT]]></title><description><![CDATA[<p dir="auto">Well, I want the first thing you mentionned.</p>
<p dir="auto">For the second thing, I guess that can work. But first, how do do that? And second, mine is not a coding language. It just need to be a txt with SOME modification (My modification is only folding. Literally nothing else)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46243</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46243</guid><dc:creator><![CDATA[XiarnoYTooShort]]></dc:creator><pubDate>Wed, 14 Aug 2019 22:21:17 GMT</pubDate></item><item><title><![CDATA[Reply to Default User Defined Language ? on Wed, 14 Aug 2019 22:15:53 GMT]]></title><description><![CDATA[<p dir="auto">I am assuming you mean “set a specific UDL as the default language for a new file” – akin to <strong>Settings &gt; Preferences &gt; New Document &gt; Default Language</strong>, but with the ability to select a UDL rather than a builtin.</p>
<p dir="auto">I don’t know of a way directly.</p>
<p dir="auto">However, if you have your UDL defined with a particular extension, then if you create a new file and immediately save-as to a filename with that extension, and it will immediately change over to that UDL.  (This has the side benefit of immediately naming your file, so you’re not trying to figure out two days later “which file was <code>new 1</code>, which was <code>new 42</code>, …?”)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46242</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46242</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 14 Aug 2019 22:15:53 GMT</pubDate></item></channel></rss>