<?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[can i use function list in Notepad++ 7.9.5?]]></title><description><![CDATA[<p dir="auto">i want outliner for mark down file.<br />
i just want the header like vs code,not the markdown preview.<br />
<img src="/assets/uploads/files/1620636207767-markdown.jpg" alt="markdown.JPG" class=" img-fluid img-markdown" /><br />
is it possible by extension?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21148/can-i-use-function-list-in-notepad-7-9-5</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 12:34:32 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21148.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 May 2021 08:43:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Sun, 05 Jan 2025 02:56:49 GMT]]></title><description><![CDATA[<p dir="auto">@Dan-I-2072 said in <a href="/post/98972">can i use function list in Notepad++ 7.9.5?</a>:</p>
<blockquote>
<p dir="auto">You <strong>must</strong> make the file changes above within the <code>%AppData%\Notepad++\functionList</code> dir, which means it has to be done separately for <strong>each user</strong> of the PC.</p>
<p dir="auto">Trying to instead make the same changes for <strong>all users</strong> of the PC, within the <code>C:\Program Files\Notepad++\functionList</code> dir, results in Notepad++ entirely ignoring the configuration.</p>
</blockquote>
<p dir="auto">The all <strong>users path</strong> might be <code>%ProgramData%\Notepad++\functionList</code> or the older Environmental Variable path of <code>%ALLUSERSPROFILE%\Notepad++\functionList</code>. I do not know if Notepad++ searches in those paths.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98976</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98976</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Sun, 05 Jan 2025 02:56:49 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Sun, 05 Jan 2025 00:17:06 GMT]]></title><description><![CDATA[<p dir="auto">@Dan-Ignat-0 said in <a href="/post/98972">can i use function list in Notepad++ 7.9.5?</a>:</p>
<blockquote>
<p dir="auto">It should be noted that there seems to be a bug in Notepad++ related to this. …</p>
</blockquote>
<p dir="auto">Makes sense, but we cannot do anything about it in the Community Forum. If you want the developer to hear your thoughts, follow our <a href="/topic/15741">Feature Request / Bug FAQ</a> to put your request in the official tracker.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98974</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98974</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 05 Jan 2025 00:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Sun, 05 Jan 2025 00:02:14 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> Thanks so much for documenting this.  There are several older posts on various sites about how to modify the Function List, but they no longer work since Notepad++ introduced newer mechanisms for managing all this, e.g. <em>overrideMap.xml</em>.</p>
<p dir="auto">It should be noted that there seems to be a bug in Notepad++ related to this.</p>
<p dir="auto">You <strong>must</strong> make the file changes above within the <code>%AppData%\Notepad++\functionList</code> dir, which means it has to be done separately for <strong>each user</strong> of the PC.</p>
<p dir="auto">Trying to instead make the same changes for <strong>all users</strong> of the PC, within the <code>C:\Program Files\Notepad++\functionList</code> dir, results in Notepad++ entirely ignoring the configuration.</p>
<p dir="auto">Given that the <code>C:\Program Files\Notepad++\functionList</code> dir exists and has the same files, including the <em>overrideMap.xml</em> mechanism, leads me to think that its being ignored is a bug in Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98972</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98972</guid><dc:creator><![CDATA[Theodan23]]></dc:creator><pubDate>Sun, 05 Jan 2025 00:02:14 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Thu, 13 May 2021 02:10:37 GMT]]></title><description><![CDATA[<p dir="auto">thanks for comment.<br />
i may have to make plugin.<br />
<a href="https://npp-user-manual.org/docs/plugins/" rel="nofollow ugc">https://npp-user-manual.org/docs/plugins/</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65921</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65921</guid><dc:creator><![CDATA[bge low]]></dc:creator><pubDate>Thu, 13 May 2021 02:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Wed, 12 May 2021 11:42:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bge-low" aria-label="Profile: bge-low">@<bdi>bge-low</bdi></a> said in <a href="/post/65906">can i use function list in Notepad++ 7.9.5?</a>:</p>
<blockquote>
<p dir="auto">do i have to develop for folding function?</p>
</blockquote>
<p dir="auto">If you want that feature, I’d say Yes.<br />
Otherwise you can make a <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">FEATURE REQUEST</a> for the N++ developers, but that offers no guarantee of implementation.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65907</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65907</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 12 May 2021 11:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Wed, 12 May 2021 11:36:34 GMT]]></title><description><![CDATA[<p dir="auto">thanks for <a href="http://comment.do" rel="nofollow ugc">comment.do</a> i have to develop for folding function?<br />
that looks like very hard.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65906</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65906</guid><dc:creator><![CDATA[bge low]]></dc:creator><pubDate>Wed, 12 May 2021 11:36:34 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Tue, 11 May 2021 11:23:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bge-low" aria-label="Profile: bge-low">@<bdi>bge-low</bdi></a> said in <a href="/post/65878">can i use function list in Notepad++ 7.9.5?</a>:</p>
<blockquote>
<p dir="auto">but i still have other question.<br />
can the function list be “fold” like vs code?</p>
</blockquote>
<p dir="auto">I think Peter answered this one:</p>
<blockquote>
<p dir="auto">As you can see, it doesn’t make a multi-layer hierarchy</p>
</blockquote>
<p dir="auto">So the very short answer is No.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65884</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65884</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 11 May 2021 11:23:39 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Tue, 11 May 2021 03:39:02 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><br />
thanks peter.your tutorial worked perfectly.</p>
<p dir="auto">but i still have other question.<br />
can the function list be “fold” like vs code?<br />
header1 locate in top,header2 and header3 locate in under of header1.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65878</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65878</guid><dc:creator><![CDATA[bge low]]></dc:creator><pubDate>Tue, 11 May 2021 03:39:02 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Mon, 10 May 2021 22:27:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/bge-low" aria-label="Profile: bge-low">@<bdi>bge-low</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">After some tests on our <strong><code>NodeBB</code></strong> forum and some searches on <strong>legal</strong> <strong><code>Markdown</code></strong> syntax, I think that we should change the <strong>present</strong> syntax :</p>
<pre><code class="language-html">            &lt;function mainExpr="(?x-s)(^[#]+\s*(.*?)$|^(.*)(?=[\r\n]+^([-=])\4{2,}\s*$))"/&gt;
</code></pre>
<p dir="auto">into this <strong>new</strong> one :</p>
<pre><code class="language-html">
            &lt;function mainExpr="(?-s)^#{1,6}(?:(?=[\t\x20]*$)|[\t\x20]+\K.+)|^.+(?=\R\x20{0,3}[-=]+[\t\x20]*$)"/&gt;
</code></pre>
<p dir="auto">You may test it against this text, using the <strong><code>Markdown (preinstalled)</code></strong> language :</p>
<pre><code class="language-diff">Line 1
Line 2
###### HEADER Text of level 6
Line 3
Line 4
Line 5 is a HEADER line
=======	        	
Line 6
Line 7 is ALSO a HEADER line
   -
Line 8
Line 9

# Level 1 HEADER Text
Line 10 : the NEXT line is an EMPTY HEADER text
###
Line 11
Line 12
</code></pre>
<hr />
<p dir="auto">With the <strong><code>free-spacing</code></strong> mode, this regex can be <strong>re</strong>-expressed as below :</p>
<pre><code class="language-z">(?x-s)                 #  FREE-SPACING mode and any DOT matches a SINGLE STANDARD char ONLY
  ^ \# {1,6}           #     From 1 to SIX '#' characters ...
  (?:                  #     START of a NON capturing group 1 
    (?= [\t\x20]* $ )  #       IF followed with POSSIBLE TAB or SPACE character(s) till the END of CURRENT line
  |                    #     OR
    [\t\x20]+          #       followed with, at least, one TAB or SPACE character
    \K .+              #       and, AFTER a RESET, followed with the REMAINDER or CURRENT line
  )                    #     END of the NON-CAPTURING group 1
|                      #   OR
  ^.+                  #     CURRENT line contents ...
  (?=                  #     Start of a POSITIVE look-ahead
    \R\x20{0,3}        #       IF followed with A LINE-BREAK, and from ZERO to THREE SPACE character(s)
    [-=]+              #       followed with, at least, ONE DASH or EQUAL sign
    [\t\x20]*$         #       Followed with POSSIBLE TAB or SPACE character(s) till the END of CURRENT line
  )                    #     END of the POSITIVE look-ahead
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65866</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65866</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 10 May 2021 22:27:02 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Mon, 10 May 2021 14:42:44 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></p>
<p dir="auto">I notice that the dynamic highlight color in the <em>Function List</em> of the function your caret is in in the editor window is rather subtle (using the default theme).<br />
In case it is unclear, I mean as you caret around in your main document area, the <em>Function List</em> shows you which “function” you are currently in.<br />
I don’t mean when you click on a function in the FL window – when I do that, the background highlight of the function clicked is suitably contrasting.</p>
<p dir="auto">For me the background coloring is much more subtle than your screenshot shows for <code>## Another Level 2</code>.</p>
<p dir="auto">Is there a technique for making this more visible (i.e., making the background color of that function name darker)?</p>
<p dir="auto">This feels like it might have been something discussed before?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65843</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65843</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 10 May 2021 14:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Mon, 10 May 2021 14:29:38 GMT]]></title><description><![CDATA[<p dir="auto">FYI, I followed Peter’s instructions and it worked perfectly.<br />
I was somewhat of a risk-taker and skipped step 1, with no problems. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65842</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65842</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 10 May 2021 14:29:38 GMT</pubDate></item><item><title><![CDATA[Reply to can i use function list in Notepad++ 7.9.5? on Mon, 10 May 2021 13:26:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bge-low" aria-label="Profile: bge-low">@<bdi>bge-low</bdi></a> ,</p>
<blockquote>
<p dir="auto">Is it possible by extension?</p>
</blockquote>
<p dir="auto">If by “extension” you meant “plugin” – that’s not necessary, at least for the first-level of what you requested; as shown below, it will work with builtin Notepad++ features.</p>
<p dir="auto">If by “extension”, you mean “file extension”, then yes; if your Markdown UDL defines the <code>ext</code> box as <code>md markdown</code> or similar, any files ending in <code>.md</code> or <code>.markdown</code> will have the Markdown UDL lexer applied automatically, and will also have the functionList feature applied if you’ve followed the steps described below.  (Since there is a pre-installed Markdown UDL included with Notepad++, and it does define the extensions, then it will probably work by extension without extra effort beyond what’s described below.)</p>
<h3>Instructions</h3>
<p dir="auto">Notepad++ has the built in Function List tool, which is meant for showing functions, classes, and the like.    However, to some extent, it can be used to find the headers in markdown.</p>
<p dir="auto">To accomplish this, follow the instructions in the <a href="http://npp-user-manual.org" rel="nofollow ugc">npp-user-manual.org</a> <a href="https://npp-user-manual.org/docs/function-list/" rel="nofollow ugc">Function List page</a> as well as the <a href="https://npp-user-manual.org/docs/config-files/#v7-9-1-and-later-versions" rel="nofollow ugc">Function List config files section</a></p>
<ol>
<li>Exit all instances of the Notepad++ application</li>
<li>Edit <code>%AppData%\Notepad++\functionList\overrideMap.xml</code> .<br />
Just before the ending <code>&lt;/associationMap&gt;</code>, add a line<pre><code>&lt;association id= "markdown.xml" userDefinedLangName="Markdown (preinstalled)"/&gt;
</code></pre>
If you have an unedited copy of overrideMap.xml, putting it in the group with the other example UDL is a good idea:<br />
<img src="/assets/uploads/files/1620652107407-692985a6-28e3-4b9f-9784-5444fc537991-image.png" alt="692985a6-28e3-4b9f-9784-5444fc537991-image.png" class=" img-fluid img-markdown" /><br />
and <strong>Save</strong> <code>overrideMap.xml</code></li>
<li>Edit <code>%AppData%\Notepad++\functionList\markdown.xml</code>.  Give it content like the following:<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!-- ==========================================================================\
|
|   To learn how to make your own language parser, please check the following
|   link:
|       https://npp-user-manual.org/docs/function-list/
|
\=========================================================================== --&gt;
&lt;NotepadPlus&gt;
    &lt;functionList&gt;
        &lt;parser displayName="Markdown (preinstalled)"
                id="Markdown (preinstalled)"
                commentExpr=""&gt;
            &lt;function mainExpr="(?x-s)(^[#]+\s*(.*?)$|^(.*)(?=[\r\n]+^([-=])\4{2,}\s*$))"/&gt;
        &lt;/parser&gt;
    &lt;/functionList&gt;
&lt;/NotepadPlus&gt;
</code></pre>
The function expression will recognize markdown headers that are prefixed with one or more #, or headers that are indicated by a following line consisting of <code>---</code> or <code>===</code>.  If you have other requirements, you can add them into the regular expression<br />
<strong>Save</strong> <code>markdown.xml</code></li>
<li>Exit Notepad++ and re-start the application (required to get it to re-read the config files)</li>
<li>Now when you open a Markdown file in Notepad++, the <strong>View &gt; Function List</strong> panel will show the outline, like in my screenshot below.</li>
</ol>
<p dir="auto"><img src="/assets/uploads/files/1620651645307-16a8abf5-5b13-4cdf-a189-898dc7aa293a-image.png" alt="16a8abf5-5b13-4cdf-a189-898dc7aa293a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see, it doesn’t make a multi-layer hierarchy, like you showed… but since it keeps the <code>#</code> prefixes, you can still see which level of hierarchy you are on.  Using the “class” feature of the Function List syntax (see the FAQ, linked below), you could make it give <em>one</em> level of hierarchy, though it would require some additional development on your part to update the <code>markdown.xml</code> contents per the FAQ and <a href="http://npp-user-manual.org" rel="nofollow ugc">npp-user-manual.org</a> instructions.  And personally, I don’t think a single layer or hierarchy is worth the effort for Markdown “functionList” features.</p>
<h3>References:</h3>
<ul>
<li><a href="/topic/19480">FAQ: Function List Basics</a></li>
<li><a href="http://npp-user-manual.org" rel="nofollow ugc">npp-user-manual.org</a> section: <a href="https://npp-user-manual.org/docs/function-list/" rel="nofollow ugc">Function List</a></li>
<li><a href="http://npp-user-manual.org" rel="nofollow ugc">npp-user-manual.org</a> section: <a href="https://npp-user-manual.org/docs/config-files/#v7-9-1-and-later-versions" rel="nofollow ugc">Config Files &gt; Function List</a></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/65840</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65840</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 10 May 2021 13:26:15 GMT</pubDate></item></channel></rss>