<?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[Configure Function List to show JavaScript class functions created with prototype]]></title><description><![CDATA[<p dir="auto">Looked around for help on setting up functionList.xml to get it to display JavaScript classes set up using the prototype keyword and couldn’t find anything. Also wanted to suppress the listing of blank anonymous functions and found a tweak on <a href="http://superuser.com/questions/759322/how-can-i-filter-out-from-function-list" rel="nofollow ugc">http://superuser.com/questions/759322/how-can-i-filter-out-from-function-list</a>. For what it is worth, here is my parser section:</p>
<p dir="auto"><code>&lt;parser id="js_function" displayName="Javascript" commentExpr="((/\*.*?\*)/|(//.*?$))"&gt; 	&lt;function 	    mainExpr="((^|[\s]+|[;\}\.])([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*[\s]*=|^|[\s;\}]+)[\s]*function([\s]+[_A-Za-z]?[\w_]*\([^\)\(]*\)|\([^\)\(]*\))[\n\s]*\{" 		displayMode="$className-&gt;$functionName"&gt; 		&lt;functionName&gt; 			&lt;nameExpr expr="[_A-Za-z][\w_]*[\s]*[=:]|(?&lt;=function )[_A-Za-z]+[\w_]*[\s]*\("/&gt; 			&lt;nameExpr expr="[_A-Za-z]+[\w_]*"/&gt; 		&lt;/functionName&gt; 		&lt;className&gt; 			&lt;nameExpr expr="([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*\."/&gt; 			&lt;nameExpr expr="([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*"/&gt; 		&lt;/className&gt; 	&lt;/function&gt; 	&lt;classRange 		mainExpr="^[\t ]*([_A-Za-z]?[\w_]*)(\.prototype)+[\s]+(=)+[\s]*\{" 		openSymbole = "\{" 		closeSymbole = "\}" 		displayMode="node"&gt; 		&lt;className&gt; 			&lt;nameExpr expr="[_A-Za-z]+[\w_]*"/&gt; 		&lt;/className&gt; 		&lt;function 			mainExpr="^[\t ]*([_A-Za-z]?[\w_])+[\s]*+:+[\s]*+function+[\s]*\("&gt; 			&lt;functionName&gt; 				&lt;funcNameExpr expr="^[\t ]*([_A-Za-z]?[\w_]*)"/&gt; 			&lt;/functionName&gt; 		&lt;/function&gt; 	&lt;/classRange&gt; &lt;/parser&gt;</code></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/8647/configure-function-list-to-show-javascript-class-functions-created-with-prototype</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:37:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/8647.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Aug 2015 10:22:50 GMT</pubDate><ttl>60</ttl></channel></rss>