<?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[JavaScript Function List not working]]></title><description><![CDATA[<p dir="auto">Hi, I have the latest version of Notepad++ installed (7.3.2) and I can’t get the function list to display anything when I edit my .js files. I checked the functionList.xml file, and there’s code there for JavaScript, so why doesn’t it work? This is what’s in my functionList.xml file:</p>
<p dir="auto">Line 29: 	L_COFFEESCRIPT = 56 | L_JAVASCRIPT   = 58 | L_PS           = 35 | L_XML          =  9</p>
<p dir="auto">Line 38:  3 = L_CPP          | 19 = L_JS           | 35 = L_PS           | 51 = L_GUI4CLI</p>
<p dir="auto">Line 45: 10 = L_MAKEFILE     | 26 = L_BASH         | 42 = L_ADA          | 58 = L_JAVASCRIPT</p>
<p dir="auto">Line 1165:<br />
&lt;!-- ================================================ [ J(ava)Script ] --&gt;</p>
<pre><code>		&lt;parser
			displayName="JavaScript"
			id         ="javascript_function"
			commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)"
		&gt;
			&lt;function
				mainExpr="((^|\s+|[;\}\.])([A-Za-z_]\w*\.)*[A-Za-z_]\w*\s*[=:]|^|[\s;\}]+)\s*function(\s+[A-Za-z_]?\w*\([^\)\(]*\)|\([^\)\(]*\))[\n\s]*\{"
			&gt;
				&lt;functionName&gt;
					&lt;nameExpr expr="[A-Za-z_]\w*\s*[=:]|[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;/parser&gt;
</code></pre>
<p dir="auto">Any ideas?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13409/javascript-function-list-not-working</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 07:28:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13409.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Mar 2017 02:50:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to JavaScript Function List not working on Tue, 08 Aug 2017 19:00:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
I found that javascript function list does not work when there is a comment between the function (parameter list) and the opening curly bracket { of the function body.<br />
My solution is to remove the search for curly bracket {.<br />
In addition I added the construct d = new Function(“parameter1”,“parameter2”,“function body”).<br />
I tried a lot of things, changing the commentExpr did not help. I frequently do have comments between the function header and the opening curly bracket of the function body.</p>
<p dir="auto">It concerns the mainExpr</p>
<p dir="auto">mainExpr=“((^|\s+|[;}.])([A-Za-z_]\w*.)<em>[A-Za-z_]\w</em>\s*[=:]|^|[\s;}]+)\s*(?:new\s*)?function(\s+[A-Za-z_]?\w*\s*([^)(]<em>)|([^)(]</em>))”</p>
<p dir="auto">(please excuse my formatting, and for tail-posting. I want to post my findings but I’m not fluent).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/26174</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/26174</guid><dc:creator><![CDATA[t12122013 Fink]]></dc:creator><pubDate>Tue, 08 Aug 2017 19:00:09 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript Function List not working on Thu, 09 Mar 2017 13:43:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi thanks for replying to my question! I tried changing the language IDs (58 and 19), trying both functionList.xml files in the two different directories mentioned… but still no list is appearing! What would you suggest I try next?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22505</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22505</guid><dc:creator><![CDATA[Jason Stine]]></dc:creator><pubDate>Thu, 09 Mar 2017 13:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript Function List not working on Wed, 08 Mar 2017 08:15:29 GMT]]></title><description><![CDATA[<p dir="auto">See <a href="https://notepad-plus-plus.org/community/topic/12697/function-list-not-working-in-v7-2/7" rel="nofollow ugc">this topic</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/22434</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22434</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Wed, 08 Mar 2017 08:15:29 GMT</pubDate></item></channel></rss>