<?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[Better Function List for Java ?]]></title><description><![CDATA[<p dir="auto">Is there a way to get a more complete Function List for Java ?</p>
<p dir="auto">My class methods aren’t showing while with CudaText and Geany they show up without any plugins or add-ons required.</p>
<p dir="auto">Feedback appreciated.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25147/better-function-list-for-java</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 21:05:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25147.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Nov 2023 15:25:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Better Function List for Java ? on Sat, 18 Nov 2023 18:59:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rdipardo" aria-label="Profile: rdipardo">@<bdi>rdipardo</bdi></a> said in <a href="/post/90605">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">let me try to explain why this grossly overstates Lexilla’s capabilities.</p>
</blockquote>
<p dir="auto">Somewhat optimistic, possibly.  But I don’t think it’s grossly overstated.</p>
<blockquote>
<p dir="auto">A lexer is in fact surprisingly like a regex engine.</p>
</blockquote>
<p dir="auto">And as such, it should be able to do at least as well as the regex-based approach, with the added benefit that it’s much easier to track state inside the non-extensible C++ code, so being able to track whether or not a function definition is still within a given class or not would be possible to add – though it may be a lot of effort.</p>
<p dir="auto">But I don’t think that anyone should bother with such a feature request to Lexilla, because I am quite confident that, no matter whether my feasibility estimation is just optimistic or “grossly overstated”, they would reject it out of hand.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90607</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90607</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 18 Nov 2023 18:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Sat, 18 Nov 2023 18:25:42 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 in <a href="/post/90581">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">All the builtin Lexilla lexers are already doing true, high-quality state-machine lexing of the source code to properly syntax highlight.  But (unless I’m mistaken) Lexilla doesn’t give the applications that use it (like Notepad++) the ability to hook into that and make other use of it – if Lexilla did, then all Notepad++ would have to do is say "give me a list of all the classes/functions in this file, and then Notepad++ could display them.</p>
</blockquote>
<p dir="auto">If it can save someone from opening a hopeless feature request, let me try to explain why this grossly overstates Lexilla’s capabilities.</p>
<p dir="auto">A lexer is in fact surprisingly like a regex engine. Think of how VS Code provides easily extensible syntax highlighting thanks to <a href="https://macromates.com/manual/en/language_grammars" rel="nofollow ugc">Textmate grammars</a>, which map textual patterns to semantic elements.</p>
<p dir="auto">Also like a regex engine, Lexilla has no context awareness, with the exception of the most accomplished lexers, for example C++ (preprocessor macro tracking) or Python (f-strings nested to almost arbitrary depth). Nifty accessories, yes, but implemented <em>ad hoc</em> in non-extensible C++ code.</p>
<p dir="auto">Simply put, a lexer is not a compiler service. It doesn’t do much more than segment a byte steam into meaningful chunks that get assigned to styles. Painting by numbers, one byte at a time. And Lexilla can only see bytes. Not words or functions or classes, let alone the hierarchy of modules that make up a project.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90605</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90605</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Sat, 18 Nov 2023 18:25:42 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 21:11:06 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 in <a href="/post/90574">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">The way function list parsing is done, via regex, likely means (I haven’t proved it) that there are always going to be ways to mess up the parsing.</p>
</blockquote>
<p dir="auto">As the <a href="http://regex.info/blog/2006-09-15/247?ref=blog.codinghorror.com" rel="nofollow ugc">classic line</a> goes,</p>
<blockquote>
<p dir="auto">Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.</p>
</blockquote>
<p dir="auto">(Though I think <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> would disagree with that sentiment.)</p>
<p dir="auto">The sad thing is, there could be two great alternatives available to Notepad++:</p>
<ul>
<li>
<p dir="auto">All the builtin Lexilla lexers are already doing true, high-quality state-machine lexing of the source code to properly syntax highlight.  But (unless I’m mistaken) Lexilla doesn’t give the applications that use it (like Notepad++) the ability to hook into that and make other use of it – if Lexilla did, then all Notepad++ would have to do is say "give me a list of all the classes/functions in this file, and then Notepad++ could display them.  But I doubt Lexilla would add that functionality this late in the game.</p>
</li>
<li>
<p dir="auto">With most of the “big” languages having LSP servers available, the text editors that have builtin LSP clients (or at least have an already-developed plugin for LSP) can also easily do function-extraction, and so much more.  It was requested as a core feature <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4440" rel="nofollow ugc">years ago</a>, but it never gained traction… and unfortunately, neither of the plugins that have tried to implement it have gotten to the point where it’s publishable.</p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/90581</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90581</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 21:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 20:15:51 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 in <a href="/post/90577">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">Sure, there’s the editorconfig plugin, but some features absolutely need to be “core”, and this is one of them.</p>
</blockquote>
<p dir="auto">I do it with PythonScript.  But see your point - the latest is a real push to make all the features of BetterMultiSelection “built-in”.  Happy for that, but a checkbox for adding EOL to EOF would be pretty simple (PythonScript example):</p>
<pre><code class="language-Python">    def _on_before_save(self, args):
        len = editor.getLength()
        if len == 0:
            return

        c = editor.getCharAt(len-1)
        if c == 13 or c == 10:
            return

        eol = editor.getEOLMode()
        if eol == ENDOFLINE.CRLF:
            ret = "\r\n"
        elif eol == ENDOFLINE.CR:
            ret = "\r"
        elif eol == ENDOFLINE.LF:
            ret = "\n"
        editor.insertText(len, ret)
</code></pre>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90578</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90578</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Fri, 17 Nov 2023 20:15:51 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 20:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/90568">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">hit ENTER at the end of your file</p>
<p dir="auto">There are those that DON’T do this ?!?!?!</p>
</blockquote>
<p dir="auto">How do we get the author of Notepad++ ( <a class="plugin-mentions-user plugin-mentions-a" href="/user/donho" aria-label="Profile: donho">@<bdi>donho</bdi></a> ) to see the wisdom of adding a configuration setting for forcing saved files to end with a line-ending if the user hasn’t manually put one there?</p>
<p dir="auto">Here we have 3 confirmed expert users of Notepad++ (Peter / Michael /myself) pretty much saying this is a needed thing (if I’m reading the others correctly), and yet the author has not seen the importance.  Sure, there hasn’t been a recent official feature request, but as was pointed out, this was declined in the past.</p>
<p dir="auto">Sure, there’s the editorconfig plugin, but some features absolutely need to be “core”, and this is one of them.</p>
<p dir="auto">For some reason, new features endorsed by the expert users are often declined by the author, with the response of “let’s wait for more users to request this”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90577</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90577</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 17 Nov 2023 20:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:51:27 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 in <a href="/post/90574">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">The way function list parsing is done, via regex, likely means (I haven’t proved it) that there are always going to be ways to mess up the parsing.</p>
</blockquote>
<p dir="auto">It is also my belief.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90576</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90576</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:48:38 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 in <a href="/post/90574">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a></p>
<p dir="auto">I think you found your answer if you are unhappy with Notepad++ – use something else.</p>
</blockquote>
<p dir="auto">You bet.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90575</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90575</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:49:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a></p>
<blockquote>
<p dir="auto">I have the strong feeling that I would continue finding bugs</p>
</blockquote>
<p dir="auto">I think you already know the answer if you are unhappy with Notepad++ – use something else.</p>
<p dir="auto">The way function list parsing is done, via regex, likely means (I haven’t proved it) that there are always going to be ways to mess up the parsing.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90574</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90574</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:49:39 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:37:10 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> I have the strong feeling that I would continue finding bugs in the Java parser and Function List if I wanted to …</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90573</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90573</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:37:10 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:28:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> ,</p>
<p dir="auto">You changed your data compared to the data above.  If I use the data you originally showed, it works just fine to add the newline.  If I use the data you posted now, I can replicate your problem.</p>
<p dir="auto">I think <a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a> will have to chime in again, but I vaguely remember something about certain comments confusing the parser as well.</p>
<p dir="auto"><em>update</em>: quick experiment showed that if I close the brace in the comment, then it will parse correctly again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90572</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90572</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:28:28 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:12:11 GMT]]></title><description><![CDATA[<p dir="auto">Lets try this now:</p>
<pre><code>public class Test {

	public static void main ( String[] args) {
		System.out.println( "test");
	}
	// { hello
}

</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1700248289372-clipboard02.png" alt="Clipboard02.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/90571</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90571</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:12:11 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:02:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/90568">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">There are those that DON’T do this ?!?!?!</p>
</blockquote>
<p dir="auto">Since I installed EditorConfig, I don’t do it manually. ;-)</p>
<p dir="auto">And apparently, there are a subset of users (which include <a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> , as is obvious from the screenshot provided) that do not manually do so or find a way to automatically do so.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90570</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90570</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 19:01:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> said in <a href="/post/90553">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">without any plugins or add-ons required.</p>
</blockquote>
<p dir="auto">BTW: the implementation philosophy of the Developer of Notepad++: unless he really likes a feature and is interested in implementing it himself, if there’s already a plugin that has a particular feature, the Developer will not re-implement it in the base application.</p>
<p dir="auto">Thus, if there had been a plugin that solved your problem, the Developer would have said “then use that plugin”.</p>
<p dir="auto">As a result of this philosophy, if you want the automatic-ENTER-at-end-of-file that I mentioned, the plugin is the best way to get it, because the Developer is not likely to implement it natively in Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90569</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90569</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 19:01:24 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 18:57:37 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 in <a href="/post/90567">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">hit ENTER at the end of your file</p>
</blockquote>
<p dir="auto">There are those that <em><strong>DON’T</strong></em> do this ?!?!?!</p>
<p dir="auto">;-)</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90568</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90568</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Fri, 17 Nov 2023 18:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 18:57:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> said in <a href="/post/90566">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">Here is what I get on Windows 7 (also confirmed with a clean installation with default settings):</p>
</blockquote>
<p dir="auto">You have re-found a known limitation in the parser, which requires at least one blank character (space or newline) at the end of a block.  Hit ENTER at the end of line 6, and it will work.  This was the core of <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2910" rel="nofollow ugc">issue #2910</a> and many others before and after</p>
<p dir="auto">In general, most filetypes work better throughout the compute-space if they end in a newline – such newlines are included by on text editors on linux-type systems, and it really should happen by default on Windows as well, but it doesn’t.  I use the EditorConfig plugin and set <code>insert_final_newline = true</code> in its configuration so that whenever I save a file, the final newline will be included – but you don’t have to do that if you remember to always hit ENTER at the end of your file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90567</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90567</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 18:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 18:50:04 GMT]]></title><description><![CDATA[<p dir="auto">Here is what I get on Windows 7 (also confirmed with a clean installation with default settings):</p>
<p dir="auto"><img src="/assets/uploads/files/1700246468995-clipboard01.png" alt="Clipboard01.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/90566</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90566</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 18:50:04 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 18:34:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a></p>
<p dir="auto">You mean like this?</p>
<p dir="auto"><img src="/assets/uploads/files/1700246028030-0e85ec62-e0b2-4fa6-8812-12f9eee0c06f-image.png" alt="0e85ec62-e0b2-4fa6-8812-12f9eee0c06f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90565</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90565</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Fri, 17 Nov 2023 18:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 18:21:00 GMT]]></title><description><![CDATA[<p dir="auto">Lets start with this: save the following to a text file “Test,java”:</p>
<pre><code>public class Test {

	public static void main ( String[] args) {
		System.out.println( "test");
	}
}
</code></pre>
<p dir="auto">And then open with Notepad++.</p>
<p dir="auto">In the Function List there is only “Test.java” and no classes nor methods are listed. Clicking “Reload” doesn’t help.</p>
<p dir="auto">Version 8.5.8 64 bit (npp.8.5.8.portable.x64).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90564</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90564</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 18:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 17:29:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> said in <a href="/post/90557">Better Function List for Java ?</a>:</p>
<blockquote>
<p dir="auto">Although I like Notepad++ speed, I don’t see this problem with Geany nor CudaText (both create a very detailed and complete tree of all classes and methods for the same Java file right out of the box without plugins or add-ons). Surprised that a popular editor like Notepad++ is so deficient in this aspect.</p>
</blockquote>
<p dir="auto">Notepad++ does Function List parsing it “without any plugins or add-ons” – but it allows customization , which you are allowed to choose to make use of or not, if you feel that the default parsing isn’t sufficient.</p>
<p dir="auto">Getting 100% coverage for real languages is a pipe dream (and it “working” for you for Geany or CudaText probably just means you haven’t happened to find the edge cases they they miss), but Notepad++'s coverage has been quite good since <a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a> created the Java Function List definition <a href="/topic/12691">based on this conversation</a> – good enough that in the intervening 7 years, I can only find record of <em>one</em> request for an improvement to the parser logic (in 2017, which was promptly fixed).</p>
<p dir="auto">Since it’s completely customizable, you can choose to improve it yourself.  Or if you’d like help, you could share example text that doesn’t parse correctly for you.  If you are unwilling to do either, then all the complaining in the world won’t make it better.  The ball is in your court.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90559</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90559</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 17:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 17:10:35 GMT]]></title><description><![CDATA[<p dir="auto">Although I like Notepad++ speed, I don’t see this problem with Geany nor CudaText (both create a very detailed and complete tree of all classes and methods for the same Java file right out of the box without plugins or add-ons). Surprised that a popular editor like Notepad++ is so deficient in this aspect.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90557</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90557</guid><dc:creator><![CDATA[w3 mbox2]]></dc:creator><pubDate>Fri, 17 Nov 2023 17:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 16:53:35 GMT]]></title><description><![CDATA[<p dir="auto">The default Java Function List shipped with Notepad++  is the one I created.<br />
At that time the parsers were still in one file. I haven’t found the time yet to update my Languages repository to have each parser in their own file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90556</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90556</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Fri, 17 Nov 2023 16:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to Better Function List for Java ? on Fri, 17 Nov 2023 15:39:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/w3-mbox2" aria-label="Profile: w3-mbox2">@<bdi>w3-mbox2</bdi></a> ,</p>
<blockquote>
<p dir="auto">Is there a way to get a more complete Function List for Java ?</p>
</blockquote>
<p dir="auto">The Function List definitions are 100% user-configurable.  If you can improve the regex to match the extra class methods, then feel free to update your own (and share it with your fellow Notepad++ users).  So that is one way.</p>
<p dir="auto">Our resident Function List guru, <a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a> , who wrote <a href="/topic/19480">our FAQ on Function List</a>, has a <a href="https://github.com/MAPJe71/Languages" rel="nofollow ugc">collection of languages</a> that have Function List definitions and/or autoCompletion definitions for quite a few programming languages – but unfortunately his Java entry only has autoCompletion, not Function List.  I <em>think</em> that means he thought the one that shipped with Notepad++ was sufficient for his needs.</p>
<p dir="auto">Do you have example code that’s showing your class method not showing up correctly?  Because if you can share code that doesn’t parse right, he or one of the other regex experts here might be able to help customize the regexes used in the <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/installer/functionList/java.xml" rel="nofollow ugc">default Java FunctionList definition</a> to work better for your need.  (And if it seems globally useful, the tweaked version might be submitted to the Notepad++ repo for future inclusion…)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90554</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90554</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 17 Nov 2023 15:39:24 GMT</pubDate></item></channel></rss>