<?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[Function list tuning]]></title><description><![CDATA[<p dir="auto">How can i change this function list images?<br />
<a href="http://prikachi.com/images/696/8205696j.png" rel="nofollow ugc">Image to list</a><br />
However i have and problem with regex of the PHP classes in functionList.xml<br />
When I create class have always after the closing bracket (}) to set character (}) for matcha is the content of the class.</p>
<pre><code>&lt;parser id="php_function" displayName="PHP" commentExpr="((/\*.*?\*)/|(//.*?$))"&gt;
            &lt;classRange
                mainExpr="^[\s]*(class|abstract[\s]+class|final[\s]+class)[\t ]+[\w]+([\s]*|[\s]*(extends|implements)[\s]+[\w\\]+[\s]*)?\{"
                openSymbole = "\{"
                closeSymbole = "\}"
                displayMode="node"&gt;
                &lt;className&gt;
                    &lt;nameExpr expr="(class|abstract[\s]+class|final[\s]+class)[\s]+[\w]+"/&gt;
                    &lt;nameExpr expr="[\s]+[\w]+\Z"/&gt;
                    &lt;nameExpr expr="[\w]+\Z"/&gt;
                &lt;/className&gt;
                &lt;function
                    mainExpr="^[\s]*((static|public|protected|private|final)*(\s+(static|public|protected|private|final))+[\s]+)?(function[\s]+)+([\w]+([\s]+[\w]+)?([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+))?([\w_]+[\s]*::)?(?!(if|while|for|switch))[\w_~]+[\s]*\([^\{]*\{"&gt;
                    &lt;functionName&gt;
                        &lt;funcNameExpr expr="(?!(if|while|for|switch))[\w_]+[\s]*\([^\{]*"/&gt;
                        &lt;!-- comment below node if want display method with parmas --&gt;
                        &lt;funcNameExpr expr="(?!(if|while|for|switch))[\w_]+"/&gt;
                    &lt;/functionName&gt;
                &lt;/function&gt;
            &lt;/classRange&gt;
            &lt;function
                mainExpr="^[\s]*function[\s]+\w+\("
                displayMode="$className-&gt;$functionName"&gt;
                &lt;functionName&gt;
                    &lt;nameExpr expr="(?!(if|while|for))[\w_]+[\s]*\("/&gt;
                    &lt;nameExpr expr="(?!(if|while|for))[\w_]+"/&gt;
                &lt;/functionName&gt;
                &lt;className&gt;
                    &lt;nameExpr expr="[\w_]+(?=[\s]*::)"/&gt;
                &lt;/className&gt;
            &lt;/function&gt;
        &lt;/parser&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/topic/52/function-list-tuning</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 03:59:25 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/52.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Jul 2015 13:03:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Function list tuning on Mon, 06 Jun 2016 17:43:19 GMT]]></title><description><![CDATA[<p dir="auto">this is very helpful i’m looking on dev-ing a website for some microsoft guy and he is  trying to figure out the proper  way for notepad++  for shopping.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16258</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16258</guid><dc:creator><![CDATA[Joseph Casella]]></dc:creator><pubDate>Mon, 06 Jun 2016 17:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Fri, 03 Jul 2015 12:05:54 GMT]]></title><description><![CDATA[<p dir="auto">I guess you’re smart enough to figure that out for yourself.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/181</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/181</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Fri, 03 Jul 2015 12:05:54 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Fri, 03 Jul 2015 08:00:41 GMT]]></title><description><![CDATA[<p dir="auto">Is yours regular expression is better than my? If so what is better and what is better coincide with it? What are the differences between yours and mine?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/174</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/174</guid><dc:creator><![CDATA[Българският Войн]]></dc:creator><pubDate>Fri, 03 Jul 2015 08:00:41 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 21:44:44 GMT]]></title><description><![CDATA[<p dir="auto">Yes, there is a problem with the regular expression in your first post but correcting that will not solve the problem of the required space after the closing curly-brace.</p>
<p dir="auto"><strong>The closing curly-brace requires a white-space after it. This is a BUG in the Notepad++ source code. It can NOT be solved by changing the regular expression of the parser.</strong></p>
<p dir="auto">This is what I used as the PHP parser:</p>
<pre><code>      &lt;parser
          id         ="php_syntax" 
          displayName="PHP" 
          commentExpr="(?'MLC'(?s-m)/\*.*?\*/)|(?'SLC'(?m-s)(?:#|/{2}).*$)|(?'STRLIT'(?s-m)&amp;quot;[^&amp;quot;\\]*(?:\\.[^&amp;quot;\\]*)*&amp;quot;|&amp;apos;[^&amp;apos;\\]*(?:\\.[^&amp;apos;\\]*)*&amp;apos;)"
          version    ="0.0.0.0" 
        &gt;
        &lt;classRange
            mainExpr    ="^\s*(?:(?-i:abstract|final)\s+)?(?-i:class)[\t ]+[A-Za-z_\x7f-\xff][\w\x7f-\xff]*(\s+(extends|implements|extends\s+(\\|[A-Za-z_\x7f-\xff][\w\x7f-\xff]*)+\s+implements)\s+(,\s*|(\\|[A-Za-z_\x7f-\xff][\w\x7f-\xff]*))+)?\s*\{"
            openSymbole ="\{"
            closeSymbole="\}"
          &gt;
          &lt;className&gt;
            &lt;nameExpr expr="(?:(?-i:abstract|final)\s+)?(?-i:class)[\t ]+[A-Za-z_\x7f-\xff][\w\x7f-\xff]*" /&gt;
            &lt;nameExpr expr="\s+[A-Za-z_\x7f-\xff][\w\x7f-\xff]*\Z" /&gt;
            &lt;nameExpr expr="[A-Za-z_\x7f-\xff][\w\x7f-\xff]*\Z" /&gt;
          &lt;/className&gt;
          &lt;function mainExpr="\s*(?:(?-i:static|public|protected|private|final)*(\s+(?-i:static|public|protected|private|final))+\s+)?(?-i:function\s+)([A-Za-z_\x7f-\xff][\w\x7f-\xff]*(\s+[A-Za-z_\x7f-\xff][\w\x7f-\xff]*)?(\s+|\*\s+|\s+\*|\s+\*\s+))?([A-Za-z_\x7f-\xff][\w\x7f-\xff]*\s*:{2})?(?:\b(?!(?-i:if|while|for|switch)\b))[A-Za-z_\x7f-\xff][\w\x7f-\xff]*\s*\([^\{]*\{" &gt;
            &lt;functionName&gt;
              &lt;funcNameExpr expr="(?:\b(?!(?-i:if|while|for|switch)\b))[A-Za-z_\x7f-\xff][\w\x7f-\xff]*\s*\([^{]*" /&gt;
              &lt;!-- comment out the following node to display the method with its parameters --&gt;
              &lt;funcNameExpr expr="[A-Za-z_\x7f-\xff][\w\x7f-\xff]*" /&gt;
            &lt;/functionName&gt;
          &lt;/function&gt;
        &lt;/classRange&gt;
        &lt;function mainExpr="\s*function\s+\w+\(" &gt;
          &lt;functionName&gt;
            &lt;nameExpr expr="(?!(?-i:if|while|for)\b)~?[A-Za-z_]\w*\s*\(" /&gt;
            &lt;nameExpr expr="~?[A-Za-z_]\w*" /&gt;
          &lt;/functionName&gt;
          &lt;className&gt;
            &lt;nameExpr expr="\w+(?=\s*:{2})" /&gt;
          &lt;/className&gt;
        &lt;/function&gt;
      &lt;/parser&gt;
</code></pre>
<p dir="auto">NOTE: it still won’t solve your problem i.e. it also requires a white-space after the closing curly-brace.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/161</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/161</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Thu, 02 Jul 2015 21:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 20:36:58 GMT]]></title><description><![CDATA[<p dir="auto">Man the regular expresion for PHP is bad not the exe file. Just we can make changes and improove it. I show here in images the problem.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/160</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/160</guid><dc:creator><![CDATA[Българският Войн]]></dc:creator><pubDate>Thu, 02 Jul 2015 20:36:58 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 18:07:08 GMT]]></title><description><![CDATA[<p dir="auto">Duh … if you have any C/C++ knowledge by improving the Notepad++ source code. Otherwise I’d opt for adding a bug-report (i.e. issue) on Notepad++'s GitHub page.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/156</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/156</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Thu, 02 Jul 2015 18:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 14:53:02 GMT]]></title><description><![CDATA[<p dir="auto">How can i modifed this?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/152</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/152</guid><dc:creator><![CDATA[Българският Войн]]></dc:creator><pubDate>Thu, 02 Jul 2015 14:53:02 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 14:41:56 GMT]]></title><description><![CDATA[<p dir="auto">The required trailing space is most probably a bug and might be related to or is the same bug as the required two spaces before an inline comment.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/149</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/149</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Thu, 02 Jul 2015 14:41:56 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Thu, 02 Jul 2015 22:55:09 GMT]]></title><description><![CDATA[<p dir="auto">Where to change regex to avoid this malfunction showed in the images?  I think that the problem is here:</p>
<pre><code>mainExpr="^[\s]*(class|abstract[\s]+class|final[\s]+class)[\t ]+[\w]+([\s]*|[\s]*(extends|implements)[\s]+[\w\\]+[\s]*)?\{"
                openSymbole = "\{"
                closeSymbole = "\}"
                displayMode="node"&gt;
</code></pre>
<p dir="auto">Please help me to change the code to match <code>}</code> with nothing after the bracket. <code>closeSymbole = "\}"</code> is addet but when it is not have some space or symbol after</p>
<pre><code>class PHP {

} //here it is not show function list and no clas there because is not match the regular expresion.
</code></pre>
<p dir="auto"><a href="http://prikachi.com/images/603/8207603r.png" rel="nofollow ugc">Image 1 the cursor is ok and function list showed matches!</a></p>
<p dir="auto"><a href="http://prikachi.com/images/604/8207604W.png" rel="nofollow ugc">Image 2 the cursor is NOT ok and function list is not showed matches!</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/142</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/142</guid><dc:creator><![CDATA[Българският Войн]]></dc:creator><pubDate>Thu, 02 Jul 2015 22:55:09 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Wed, 01 Jul 2015 21:43:56 GMT]]></title><description><![CDATA[<p dir="auto">Notepad++ has a build-in FunctionList these days which can not be disabled. What you can do is install the <code>Customize Toolbar</code>-plugin and use it to remove the button from the task-bar.</p>
<p dir="auto">The images in the FunctionList tree view can not be changed by settings. You’ll have to change and rebuild Notepad++ to accomplish that. The images of the <code>FunctionList</code>-plugin (be aware that it has instability issues) and the <code>SourceCookifier</code>-plugin can be customized with settings.</p>
<p dir="auto">The parsers of FunctionList (build-in) and <code>FunctionList</code>-plugin are defined in FunctionList.xml and FunctionListRules.xml respectively and are not directly exchangeable.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/136</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/136</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Wed, 01 Jul 2015 21:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Wed, 01 Jul 2015 20:58:15 GMT]]></title><description><![CDATA[<p dir="auto">I want to make changes in the default images. New Notepad++  v6.7.8.2 and there is default function list button in the tab. I seee in internet plugin for function list and its looking good but he add me a new function list button in tab and they are twoo.This is look very good<br />
<a href="https://github.com/gwarnants/FunctionList-PHP-Patch" rel="nofollow ugc">https://github.com/gwarnants/FunctionList-PHP-Patch</a> i add it but when makes another button i delete it because i want to change default function list and not make another.</p>
<p dir="auto"><a href="http://prikachi.com/images/856/8206856k.jpg" rel="nofollow ugc">Image</a></p>
<p dir="auto">I do it but when after the closing bracket } have no symbol or space it is not match the regex and appears to don’t have class in the file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/135</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/135</guid><dc:creator><![CDATA[Българският Войн]]></dc:creator><pubDate>Wed, 01 Jul 2015 20:58:15 GMT</pubDate></item><item><title><![CDATA[Reply to Function list tuning on Wed, 01 Jul 2015 14:39:25 GMT]]></title><description><![CDATA[<p dir="auto">What do you want the FunctionList to look like?</p>
<p dir="auto">You have to define the opening and closing symbol of the class so FunctionList can determine the scope of the class and search for member functions i.e. methods.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/125</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/125</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Wed, 01 Jul 2015 14:39:25 GMT</pubDate></item></channel></rss>