<?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[New (incomplete) LSP client plugin]]></title><description><![CDATA[<p dir="auto">Just a quick note that I have uploaded a new, experimental version of the <a href="https://github.com/Ekopalypse/NppLspClient/releases/tag/v.0.0.14-alpha" rel="nofollow ugc">NppLspClient</a>.<br />
It currently only supports Completions, SignatureHelp, Diagnostics and ProgressReport, but seems to be much more stable than the old version.<br />
For example, it works with the Rust Analyzer, which is also the programming language in which the version was written.<br />
MultiEdit and switching a document from one view to another should no longer be a problem.<br />
Documents must still be reloaded by closing and reopening the document, and the use of cloned documents is still a no-go.<br />
I also don’t think these can be solved by a plugin alone, it needs the support of Npp.</p>
<p dir="auto">I mainly test with Rust and Python, so if there are any brave testers of the new version who also use a different language server,<br />
it would be nice to know if they work. If anyone is using the same servers and finds anything unusual or buggy,<br />
I would of course be grateful if you could let me know by opening an issue in the Github repository.<br />
By the way, only language servers that communicate via stdin/stdout are currently supported.<br />
TCP communication is still a long way off.<br />
And should someone activate logging, which is created in a separate file in the Plugins/Config/NppLspClient directory,<br />
then keep an eye on the fact that the log can become quite large. Several 100MB are not uncommon.<br />
The logs are overwritten as soon as Npp starts or logging is reactivated via the configuration settings.<br />
Multiple Npp instances would use the same log file and is therefore not yet supported.</p>
<p dir="auto">Thank you very much.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25398/new-incomplete-lsp-client-plugin</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 05:10:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25398.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jan 2024 11:12:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 26 Jan 2025 11:37:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpheath" aria-label="Profile: mpheath">@<bdi>mpheath</bdi></a></p>
<p dir="auto">Thank you very much - and disabling it again in my init routine seems to solve the current problem, but I’m not sure if there isn’t an underlying issue here. I mean, why does this only happen when multiple documents are used in a single window? I will do some tests in the next few days.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99355</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99355</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 26 Jan 2025 11:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 26 Jan 2025 06:40:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto">There is a change in IdleStyling</p>
<pre><code>execute(SCI_SETIDLESTYLING, SC_IDLESTYLING_ALL, 0);
</code></pre>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/8042e50b1979cf958c8a2fbd46e06f819ab30fb2/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp#L234" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/blob/8042e50b1979cf958c8a2fbd46e06f819ab30fb2/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp#L234</a></p>
<p dir="auto">now the whole document is styled at startup instead of what is visible. So more CPU usage.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99348</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99348</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Sun, 26 Jan 2025 06:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 25 Jan 2025 21:54:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xomx" aria-label="Profile: xomx">@<bdi>xomx</bdi></a></p>
<p dir="auto">Thank you very much for having a look and trying to help me solving this. I managed to confirm that the issue is because of using multiple views.<br />
See <a href="https://groups.google.com/g/scintilla-interest/c/bZDYIsYHLcs" rel="nofollow ugc">here</a> for more details.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> - thanks for moving the topic to the right place.</p>
<p dir="auto">I will follow up on this tomorrow.</p>
<p dir="auto">EDIT: I forgot to mention that you are right, I copied the npp.pdb to the wrong directory :-(, but when I saw notepad++!SetLibraryProperty … it was enough confirmation for me to believe that the symbol file was found and loaded.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99340</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99340</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sat, 25 Jan 2025 21:54:40 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 25 Jan 2025 21:00:30 GMT]]></title><description><![CDATA[<p dir="auto">Continue from: <a href="https://community.notepad-plus-plus.org/post/99308">https://community.notepad-plus-plus.org/post/99308</a></p>
<p dir="auto">Below I will show you what you will see with the correct PDBs loaded for the just launched N++ (none of its func invoked), the two N++ base threads will be its main thread and the backup-snapshots worker one:<br />
<img src="/assets/uploads/files/1737827076346-npp-pdb.png" alt="npp-PDB.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/99332">New (incomplete) LSP client plugin</a>:</p>
<blockquote>
<p dir="auto">Diagnostics and References show the unusual behavior that they</p>
<p dir="auto">a) receive SC_WIN_IDLE messages and<br />
b) relatively much in a short time</p>
</blockquote>
<p dir="auto">I can confirm with Debug N++ v8.7.6rc2 &amp; your <a href="https://github.com/Ekopalypse/NppLspClient/releases/download/v.0.0.15-alpha/NppLspClient_x64.zip" rel="nofollow ugc">plugin binary</a>. I simply launched the N++, invoke your <code>Toggle diagnostic window</code> and then any action in it (even a mouse click inside that Diagnostics wnd) invokes the <code>SC_WIN_IDLE</code>:<br />
<img src="/assets/uploads/files/1737834380376-npp-npplspclient-diagnostic-sc_win_idle.png" alt="npp-NppLspClient-Diagnostic-SC_WIN_IDLE.png" class=" img-fluid img-markdown" /><br />
So I suppose that if you use this wnd a lot in a real plugin work, there will be one such message for every, even a small, change.<br />
Edit: This behavior is not dependent on your plugin, it is there even without it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99337</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99337</guid><dc:creator><![CDATA[xomx]]></dc:creator><pubDate>Sat, 25 Jan 2025 21:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 25 Jan 2025 17:46:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/99332">Notepad++ v8.7.6 Release Candidate</a>:</p>
<blockquote>
<p dir="auto">with symbol files loaded from a recent Notepad++ release build.</p>
</blockquote>
<p dir="auto">These are 100% wrong (missing).<br />
Let’s stop here and continue in more appropriate <a href="https://community.notepad-plus-plus.org/topic/25398/new-incomplete-lsp-client-plugin">place</a>.</p>
<p dir="auto">--<br />
<em>moderator: moved the tangential posts from the <a href="/topic/26567">v8.7.6-RC topic</a> to here</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/99335</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99335</guid><dc:creator><![CDATA[xomx]]></dc:creator><pubDate>Sat, 25 Jan 2025 17:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 25 Jan 2025 16:54:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/xomx" aria-label="Profile: xomx">@<bdi>xomx</bdi></a>,<br />
Thank you for the response.</p>
<p dir="auto">The screenshot shows the sysinternals Process Explorer with symbol files loaded from a recent Notepad++ release build.</p>
<p dir="auto">The tldr is that I need to figure out why my plugin is suddenly receiving a bunch of<br />
5001 (SC_WIN_IDLE) messages in 2 of 4 dialogs that have the Scintilla control embedded.</p>
<p dir="auto">The more detailed version.<br />
The LspPlugin has 4 dock-able dialogs that all use the Scintilla control.<br />
None of them currently have a lexer active, but are colored via the SCI_ADDSTYLEDTEXT message.<br />
2 Dialogs, Diagnostics and References show the unusual behavior that they</p>
<p dir="auto">a) receive SC_WIN_IDLE messages and<br />
b) relatively much in a short time</p>
<p dir="auto">In a 20 second test, starting from the start of Npp,<br />
I received approx. 3800 dialog messages for all 4 dialogs, of which approx. 3000 were SC_WIN_IDLE messages.<br />
Only received from the two dialogs mentioned. But only if something was added in the two dialogs.<br />
A single letter was sufficient for this. If the letter was deleted again, the messages also stopped and the CPU load decreased again.</p>
<p dir="auto">The two dialog groups, Diagnostics/References on one side and Symbols/Console on the other, differ in one detail.<br />
Symbols/Console use the initial document create by Scintilla and that is always overwritten,<br />
Diagnostics/References use a separate document (SCI_SETDOCPOINTER, SCI_CREATEDOCUMENT, SCI_RELEASEDOCUMENT …) for each LSP server.</p>
<p dir="auto">I can’t say at the moment whether this is the actual trigger but I am confident that I will find out in the next few days.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99332</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99332</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sat, 25 Jan 2025 16:54:45 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 25 Jan 2025 17:47:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto"><em>(in reply to <a href="https://community.notepad-plus-plus.org/post/99309">this post</a>)</em></p>
<p dir="auto">I do not experience such a problem.</p>
<p dir="auto">Beware that while the WINAPIs in your callstack screenshot seem to be decoded properly (is it the PH SW?), the N++ calls are not. So the immediate calls visible are response for calling the <a href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getpropw" rel="nofollow ugc">GetProp</a>, but the N++ source origin (callstack frame No. 4) is most probably wrong. You need to build your own N++ (Debug or Release, it does not matter, but with the PDB-symbols generated!) and then repeat your callstack revealing steps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99326</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99326</guid><dc:creator><![CDATA[xomx]]></dc:creator><pubDate>Sat, 25 Jan 2025 17:47:15 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Thu, 23 Jan 2025 11:15:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto">Issue solved in version v.0.0.33</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99293</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99293</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 23 Jan 2025 11:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Mon, 20 Jan 2025 12:03:17 GMT]]></title><description><![CDATA[<p dir="auto">I am looking for the reason for a phenomenon where I am slowly running out of ideas and would be grateful for any ideas.<br />
Background: It can happen that Notepad++ does not start when the NppLspClient plugin is used and Notepad++ is run in dark mode. In light mode I, and also the user who reported this, can never see this. Even my normal Npp installation, which I use daily and has always run in dark mode, does not show this behavior. I can currently only reproduce this with a separate Npp installation and even then not always. It also only seems to occur when an Npp release version is used, I have also not been able to reproduce the problem via the Visual Studio debugger. I have implemented a stack tracer in the plugin but unfortunately I cannot recognize any pattern. The error that is reported is 0xc0000374 (heap corruption) which doesn’t make it any easier to find the reason as the heap was probably already corrupted long before the exception. And with two traces I have several DllMain calls in different frames (???).<br />
If my plugin corrupts the heap, why only when dark mode is active? And why can’t I see this at least sometimes with my normal npp installation?<br />
I’m confused. :(</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99243</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99243</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 20 Jan 2025 12:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Mon, 09 Dec 2024 06:23:20 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for renaming the title.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98447</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98447</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 09 Dec 2024 06:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 08 Dec 2024 10:10:55 GMT]]></title><description><![CDATA[<p dir="auto">May I ask that one of the moderators change the title of this post to</p>
<p dir="auto"><code>New (incomplete) LSP client plugin</code></p>
<p dir="auto">Since version v.0.0.30 a 32bit plugin is also available.</p>
<p dir="auto">Thank you very much.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98437</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98437</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 08 Dec 2024 10:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 08 Dec 2024 09:06:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murray-sobol-1" aria-label="Profile: Murray-Sobol-1">@<bdi>Murray-Sobol-1</bdi></a></p>
<p dir="auto">This sounds like Rust is not part of your Notepad++ setup because keyword coloring is done by Npp/Scintilla and is not part of the language server protocol and if that is the case, then the NppLspClient plugin will not work with Rust files.</p>
<p dir="auto">So what does the NppLspClient plugin do?</p>
<p dir="auto">When loading the plugin, it checks if the configuration file is available and if not, it creates the minimal version where no servers are available. Currently, users have to manually configure the servers they want to use.</p>
<p dir="auto">When activating a buffer, the plugin checks whether the language of the current buffer is configured in the configuration file. If it finds a corresponding section, it checks whether the FolderAsWorkspace (FAW) dialog has entries, and if it finds something, it remembers its root node. If the server is to be started automatically, it checks whether the current file belongs to one of the root nodes of the FAW dialog. If this is the case, this root node path is used to initialize the configured server; if this is not the case, the current directory is used instead. An attempt is then made to start the process. That’s it, and the success or failure can be displayed in the console dialog.</p>
<p dir="auto">If this does not solve your problem, you are welcome to open a request in the NppLspClient github repo and attach the log entries together with your configuration for further investigation.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98435</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98435</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 08 Dec 2024 09:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sat, 07 Dec 2024 18:59:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a><br />
Thanks, I replaced rust-analyzer with the 64-bit version.<br />
When I try to edit/modify a Rust program, i.e. <a href="http://main.rs" rel="nofollow ugc">main.rs</a> I do not get the coloring of keywords or suggested completions.<br />
Is there something else that i am missing in my setup??<br />
Here’s my Notepad++ debug info:<br />
Notepad++ v8.7.4   (64-bit)<br />
Build time : Dec  4 2024 - 23:50:05<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line :<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
Periodic Backup : ON<br />
Placeholders : OFF<br />
DirectWrite : OFF<br />
Multi-instance Mode : monoInst<br />
File Status Auto-Detection : cdEnabledNew (for current file/tab only)<br />
Dark Mode : OFF<br />
OS Name : Windows 11 Pro (64-bit)<br />
OS Version : 24H2<br />
OS Build : 26100.2454<br />
Current ANSI codepage : 1252<br />
Plugins :<br />
mimeTools (3.1)<br />
NppConverter (4.6)<br />
NppExport (0.4)<br />
NppLspClient (0.0.31)<br />
rustnpp (1.0.2)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98426</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98426</guid><dc:creator><![CDATA[Murray Sobol 1]]></dc:creator><pubDate>Sat, 07 Dec 2024 18:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 01 Dec 2024 17:04:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murray-sobol-1" aria-label="Profile: Murray-Sobol-1">@<bdi>Murray-Sobol-1</bdi></a></p>
<p dir="auto">Is there a reason why you are using the 32bit version of rust analyzer?<br />
Does that fit your rust toolchain?<br />
For a 64 bit Windows I would have used <a href="https://github.com/rust-lang/rust-analyzer/releases/download/2024-11-25/rust-analyzer-x86_64-pc-windows-msvc.zip" rel="nofollow ugc">this</a> one I guess.</p>
<blockquote>
<p dir="auto">You mention a “config for Rust”, how/ where do I place this??</p>
</blockquote>
<p dir="auto"><code>Plugin-&gt;NppLspClient-&gt;Open Configuration File</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/98341</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98341</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 01 Dec 2024 17:04:01 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Sun, 01 Dec 2024 15:39:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> I downloaded this file: <a href="https://github.com/rust-lang/rust-analyzer/releases/download/2024-11-25/rust-analyzer-i686-pc-windows-msvc.zip" rel="nofollow ugc">https://github.com/rust-lang/rust-analyzer/releases/download/2024-11-25/rust-analyzer-i686-pc-windows-msvc.zip</a> and unzipped it.<br />
You mention a “config for Rust”, how/ where do I place this??<br />
BTW: my environment is Windows 11 64-bitProfessional edition.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98340</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98340</guid><dc:creator><![CDATA[Murray Sobol 1]]></dc:creator><pubDate>Sun, 01 Dec 2024 15:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Fri, 29 Nov 2024 10:38:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murray-sobol-1" aria-label="Profile: Murray-Sobol-1">@<bdi>Murray-Sobol-1</bdi></a></p>
<p dir="auto">Either download a pre-built <a href="https://github.com/rust-lang/rust-analyzer/releases" rel="nofollow ugc">binary</a> or clone their <a href="https://github.com/rust-lang/rust-analyzer" rel="nofollow ugc">repo</a> and build it yourself, which is what I do to stay up to date.</p>
<p dir="auto">My config for rust looks like this</p>
<pre><code class="language-toml">[lspservers.rust]
mode = "io"
executable = 'D:\Repositories\rust\rust-analyzer\target\release\rust-analyzer.exe'
auto_start_server = true
# initialization_options = '{"completion":{"limit": 1000}}'
</code></pre>
<p dir="auto">Since rust-analyzer can be quite chatty, you might want to comment out the <code>initialization_options</code> if you are having performance issues. My old i5 2nd edition processor seems to get along fine most of the time even with the commented line.</p>
<p dir="auto">For questions, suggestions etc… a <a href="https://github.com/Ekopalypse/NppLspClient/discussions" rel="nofollow ugc">discussion via github</a> is also possible.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98290</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98290</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 29 Nov 2024 10:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Fri, 29 Nov 2024 08:00:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ekopalypse:<br />
I’m in the midst of learning Rust, amongst a few other new languages.<br />
I installed your latest version of NppLspClient.<br />
Following your instructions, I tried to install a Language Server for Rust, they mentioned that the OLD version of RLS is no longer supported (deprecated I think) and recommended using rust-analyzer.<br />
Here is the link: <a href="https://github.com/rust-lang/rls" rel="nofollow ugc">https://github.com/rust-lang/rls</a><br />
I have rust-analyzer installed in Visual Studio Code w022 but was unsure how to install it for Notepad++.</p>
<p dir="auto">Any comments or advice would be appreciated.<br />
Thanks<br />
Murray</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98287</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98287</guid><dc:creator><![CDATA[Murray Sobol 1]]></dc:creator><pubDate>Fri, 29 Nov 2024 08:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Thu, 04 Apr 2024 11:25:25 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’ve opened an <a href="https://github.com/bscan/PerlNavigator/issues/125" rel="nofollow ugc">issue</a> that I wanted to wait for before releasing a new version.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/94015</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/94015</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 04 Apr 2024 11:25:25 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 19:14:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/94001">New (incomplete and x64 only) LSP client plugin</a>:</p>
<blockquote>
<p dir="auto">I will prepare another alpha version tomorrow and make it available.</p>
</blockquote>
<p dir="auto">Great!  Looking forward to it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/94003</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/94003</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 03 Apr 2024 19:14:28 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 18:53:06 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">Looks like it is caused by the unhandled request.</p>
<p dir="auto"><img src="/assets/uploads/files/1712169874458-bb81bda7-8842-4fc2-aee5-45d6a7f28638-image.png" alt="bb81bda7-8842-4fc2-aee5-45d6a7f28638-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">and now the server responded, for the goto definition request, with</p>
<pre><code class="language-json">{
    "id": 33,
    "jsonrpc": "2.0",
    "result": [
        {
            "range": {
                "end": {
                    "character": 500,
                    "line": 9
                },
                "start": {
                    "character": 0,
                    "line": 9
                }
            },
            "uri": "file:///D:/scripts/perl/tests/main.pl"
        }
    ]
}
</code></pre>
<p dir="auto">But the end character 500 is not correct.<br />
The formatting does not seem to work either.<br />
Renaming is not supported by the server.</p>
<p dir="auto">I will prepare another alpha version tomorrow and make it available.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/94001</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/94001</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 03 Apr 2024 18:53:06 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 18:06:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/93997">New (incomplete and x64 only) LSP client plugin</a>:</p>
<blockquote>
<p dir="auto">That’s a valid response from the server if it can’t specify the location … but … why can’t it!<br />
What version of Perl are you using?</p>
</blockquote>
<p dir="auto"><a href="https://strawberryperl.com/releases.html" rel="nofollow ugc">Strawberry Perl</a> v5.38.0 – and it’s in my path, so PerlNavigator <em>should</em> be able to find it without options being passed from the client to the server.</p>
<blockquote>
<p dir="auto">Maybe it’s related to the unhandled “workspace/workspaceFolders” request that the NppLspClient plugin seems to ignore … again … why? … dooh - typo …<br />
I must have been hungry to wait for a “workspace/wokspaceFolders” request …</p>
</blockquote>
<p dir="auto">:-)</p>
<blockquote>
<p dir="auto">No, this is reserved for exclusively handle <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic" rel="nofollow ugc">diagnostics</a>.</p>
</blockquote>
<p dir="auto">Ah, that’s fine.</p>
<blockquote>
<p dir="auto">Perhaps a temporary (3-5 sec) pop-up window that overlays the status bar area and states that this is not supported by the server.</p>
</blockquote>
<p dir="auto">I think Console is fine, and probably less work for you than a popup.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93999</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93999</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 03 Apr 2024 18:06:07 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 17:37:57 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/93993">New (incomplete and x64 only) LSP client plugin</a>:</p>
<blockquote>
<p dir="auto">{“jsonrpc”:“2.0”,“id”:2,“result”:null}</p>
</blockquote>
<p dir="auto">That’s a valid response from the server if it can’t specify the location … but … why can’t it!</p>
<p dir="auto">What version of Perl are you using?</p>
<p dir="auto">Maybe it’s related to the unhandled “workspace/workspaceFolders” request that the NppLspClient plugin seems to ignore … again … why? … dooh - typo …<br />
I must have been hungry to wait for a “workspace/wokspaceFolders” request …</p>
<blockquote>
<p dir="auto">… or maybe the Diagnostics window</p>
</blockquote>
<p dir="auto">No, this is reserved for exclusively handle <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic" rel="nofollow ugc">diagnostics</a>.<br />
Perhaps a temporary (3-5 sec) pop-up window that overlays the status bar area and states that this is not supported by the server.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93997</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93997</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 03 Apr 2024 17:37:57 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 14:46:46 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/93993">New (incomplete and x64 only) LSP client plugin</a>:</p>
<blockquote>
<p dir="auto">I am hoping that <a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> , who knows Perl, and has tried your plugin earlier in this conversation with other languages,</p>
</blockquote>
<p dir="auto"><strong>I should note:  Notepad++ 8.6.5 64-bit with NppLspClient v.0.0.26-alpha</strong></p>
<p dir="auto">Trying with Perl setup as <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> , I get the same results - it seems like it’s not working.</p>
<p dir="auto">With this Python setup:</p>
<pre><code class="language-toml">[lspservers.python]
mode = "io"
executable = 'c:\Users\VinsWorldcom\AppData\Roaming\Python\Scripts\pylsp.exe'
args = '--check-parent-process --log-file c:\Users\VinsWorldcom\tmp\pylsp.log -vvv'
auto_start_server = false
</code></pre>
<p dir="auto">and this simple Python script:</p>
<pre><code class="language-Python">#!python

import os
import sys

def myadd(n1, n2):
    return n1 + n2
    
t = myadd(1, 2)
</code></pre>
<p dir="auto">Putting my caret between the <code>y</code> and <code>a</code> of the <code>myadd()</code> call on the last line and selecting Plugins =&gt; NppLspClient =&gt; Goto definition, it moves my caret to just before the <code>m</code> in the <code>def myadd( ...</code> line - as expected.  Log shows:</p>
<pre><code>2024-04-03 10:44:09.702659 [INFO][ThreadId(4)] - &lt;&lt;&lt; {"id":75,"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":6,"line":8},"textDocument":{"uri":"file:///C:/Users/VinsWorldcom/tmp/crapps/test.py"}}}
2024-04-03 10:44:09.705734 [INFO][ThreadId(3)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":75,"result":[{"uri":"file:\/\/\/c:\/Users\/VinsWorldcom\/tmp\/crapps\/test.py","range":{"start":{"line":5,"character":4},"end":{"line":5,"character":9}}}]}
</code></pre>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93995</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93995</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 03 Apr 2024 14:46:46 GMT</pubDate></item><item><title><![CDATA[Reply to New (incomplete) LSP client plugin on Wed, 03 Apr 2024 13:47:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> ,</p>
<blockquote>
<p dir="auto">because it does not contain an lspserver configuration</p>
</blockquote>
<p dir="auto">Ah, okay. I can confirm, I can remove my dummy <code>[lspservers]</code> section once I have <code>[lspservers.perl]</code>, and it won’t flag that error.</p>
<blockquote>
<p dir="auto">hence my choice of toml.</p>
</blockquote>
<p dir="auto">My question was actually meant as a “tongue-in-cheek” joke. Sorry if that didn’t translate.  TOML is a standards-based similar to INI, so I can definitely see why one would want to use it (and why it would be a pre-implemented for your language of choice, as opposed to trying to implement an INI library, given the multitude of INI variations)</p>
<blockquote>
<p dir="auto">I am currently using a very experimental toml lexer, but previously I used the udl lexer.</p>
</blockquote>
<p dir="auto">Okay, I’ll probably snag the UDL, then.</p>
<blockquote>
<p dir="auto">That should already work, symbols are queried every time you save a document.<br />
Can you give a simple test case?</p>
</blockquote>
<p dir="auto">Apparently, I cannot, because the same experiments I tried yesterday are working today.</p>
<blockquote>
<p dir="auto">It could be that this is not supported by the server or you have discovered a bug.</p>
</blockquote>
<p dir="auto">PerlNavigator claims to support “Go to definition”, whether it needs to go elsewhere in the same file or into a <code>use</code>d module.</p>
<p dir="auto"><img src="/assets/uploads/files/1712150764083-627342e9-4e9b-4511-9dae-982813df7c68-image.png" alt="627342e9-4e9b-4511-9dae-982813df7c68-image.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">Right now I’m just returning from the function, maybe I should log something in the console window to alert the user that the current operation is not supported by the server.</p>
</blockquote>
<p dir="auto">… or maybe the Diagnostics window (unless that has a different meaning… I don’t know what all the specifics are for LSP yet, and what is expected to go where4)</p>
<p dir="auto">I selected the name of a function that comes from an external module, and then started the LSP server and did <strong>Goto definition</strong>, and nothing happened.  I then grabbed the log at that point:</p>
<pre><code>2024-04-03 06:18:31.141685 [INFO][ThreadId(1)] -   process arguments provided are: "--stdio" !!
2024-04-03 06:18:31.540531 [INFO][ThreadId(1)] -   start_server perl started.
2024-04-03 06:18:31.540748 [INFO][ThreadId(1)] - {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix"]}}},"completion":{"completionItem":{"commitCharactersSupport":false,"deprecatedSupport":false,"documentationFormat":["plaintext"],"insertReplaceSupport":false,"preselectSupport":false,"snippetSupport":false},"completionItemKind":{},"dynamicRegistration":false,"insertTextMode":1},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["plaintext","markdown"],"dynamicRegistration":false},"publishDiagnostics":{"codeDescriptionSupport":false,"dataSupport":false,"relatedInformation":true,"versionSupport":false},"rangeFormatting":{"dynamicRegistration":false},"signatureHelp":{"contextSupport":false,"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":false,"documentationFormat":["plaintext"],"parameterInformation":{"labelOffsetSupport":false}}},"synchronization":{"didSave":true,"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":false}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true}},"clientInfo":{"name":"","version":"-alpha"},"processId":27088,"rootUri":"file:///C:/usr/local/apps/npp/npp862.ps3","workspaceFolders":[{"name":"npp862.ps3","uri":"file:///C:/usr/local/apps/npp/npp862.ps3"}]}}
2024-04-03 06:18:31.541009 [INFO][ThreadId(10)] - &lt;&lt;&lt; {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix"]}}},"completion":{"completionItem":{"commitCharactersSupport":false,"deprecatedSupport":false,"documentationFormat":["plaintext"],"insertReplaceSupport":false,"preselectSupport":false,"snippetSupport":false},"completionItemKind":{},"dynamicRegistration":false,"insertTextMode":1},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["plaintext","markdown"],"dynamicRegistration":false},"publishDiagnostics":{"codeDescriptionSupport":false,"dataSupport":false,"relatedInformation":true,"versionSupport":false},"rangeFormatting":{"dynamicRegistration":false},"signatureHelp":{"contextSupport":false,"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":false,"documentationFormat":["plaintext"],"parameterInformation":{"labelOffsetSupport":false}}},"synchronization":{"didSave":true,"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":false}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true}},"clientInfo":{"name":"","version":"-alpha"},"processId":27088,"rootUri":"file:///C:/usr/local/apps/npp/npp862.ps3","workspaceFolders":[{"name":"npp862.ps3","uri":"file:///C:/usr/local/apps/npp/npp862.ps3"}]}}
2024-04-03 06:18:31.541807 [INFO][ThreadId(1)] - Storing on_buffer_activated request for C:\usr\local\apps\npp\npp862.ps3\lsp-test.pl [2058226367408]
2024-04-03 06:18:31.724127 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":2,"completionProvider":{"resolveProvider":true,"triggerCharacters":["$","@","%","-","&gt;",":"]},"definitionProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"hoverProvider":true,"documentFormattingProvider":true,"documentRangeFormattingProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",",",")"]},"workspace":{"workspaceFolders":{"supported":true}}}}}
2024-04-03 06:18:31.724411 [INFO][ThreadId(1)] - ServerCapabilities { position_encoding: None, text_document_sync: Some(Kind(Incremental)), selection_range_provider: None, hover_provider: Some(Simple(true)), completion_provider: Some(CompletionOptions { resolve_provider: Some(true), trigger_characters: Some(["$", "@", "%", "-", "&gt;", ":"]), all_commit_characters: None, work_done_progress_options: WorkDoneProgressOptions { work_done_progress: None }, completion_item: None }), signature_help_provider: Some(SignatureHelpOptions { trigger_characters: Some(["(", ",", ")"]), retrigger_characters: None, work_done_progress_options: WorkDoneProgressOptions { work_done_progress: None } }), definition_provider: Some(Left(true)), type_definition_provider: None, implementation_provider: None, references_provider: None, document_highlight_provider: None, document_symbol_provider: Some(Left(true)), workspace_symbol_provider: Some(Left(true)), code_action_provider: None, code_lens_provider: None, document_formatting_provider: Some(Left(true)), document_range_formatting_provider: Some(Left(true)), document_on_type_formatting_provider: None, rename_provider: None, document_link_provider: None, color_provider: None, folding_range_provider: None, declaration_provider: None, execute_command_provider: None, workspace: Some(WorkspaceServerCapabilities { workspace_folders: Some(WorkspaceFoldersServerCapabilities { supported: Some(true), change_notifications: None }), file_operations: None }), call_hierarchy_provider: None, semantic_tokens_provider: None, moniker_provider: None, linked_editing_range_provider: None, inline_value_provider: None, inlay_hint_provider: None, diagnostic_provider: None, experimental: None }
2024-04-03 06:18:31.724480 [INFO][ThreadId(1)] - Handling stored file C:\usr\local\apps\npp\npp862.ps3\lsp-test.pl [2058226367408]
2024-04-03 06:18:31.724488 [INFO][ThreadId(10)] - &lt;&lt;&lt; {"jsonrpc":"2.0","method":"initialized","params":{}}
2024-04-03 06:18:31.724572 [INFO][ThreadId(10)] - &lt;&lt;&lt; {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"perl","text":"#!/usr/bin/perl\r\n\r\nuse warnings;\r\nuse strict;\r\nuse lib '.';\r\nuse myModule;\r\n\r\nprint \"Hello World\\n\";\r\n\r\n=head2 ThisHereFunction\r\n\r\nPOD description\r\n\r\n=cut\r\n\r\n# Comment before sub\r\nsub ThisHereFunction {\r\n    # comment as first line of sub\r\n    my ($x,$y,$z) = @_;\r\n    return 0;\r\n}\r\n\r\nsub second { 1; }\r\n\r\nmy $t = ThisHereFunction();\r\n\r\nmy $f = myModule::func();\r\n","uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl","version":0}}}
2024-04-03 06:18:31.724604 [INFO][ThreadId(10)] - &lt;&lt;&lt; {"id":1,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl"}}}
2024-04-03 06:18:31.726886 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":0,"method":"workspace/workspaceFolders"}
2024-04-03 06:18:31.726966 [ERROR][ThreadId(1)] - Unhandled request 
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "workspace/workspaceFolders"
}
2024-04-03 06:18:31.727015 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":1,"method":"workspace/workspaceFolders"}
2024-04-03 06:18:31.727046 [ERROR][ThreadId(1)] - Unhandled request 
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "workspace/workspaceFolders"
}
2024-04-03 06:18:31.780060 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":1,"result":[{"kind":12,"location":{"range":{"start":{"line":16,"character":0},"end":{"line":20,"character":100}},"uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl"},"name":"ThisHereFunction"},{"kind":12,"location":{"range":{"start":{"line":22,"character":0},"end":{"line":22,"character":100}},"uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl"},"name":"second"}]}
2024-04-03 06:18:32.738187 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":2,"method":"workspace/workspaceFolders"}
2024-04-03 06:18:32.738469 [ERROR][ThreadId(1)] - Unhandled request 
{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "workspace/workspaceFolders"
}
2024-04-03 06:18:58.116894 [INFO][ThreadId(10)] - &lt;&lt;&lt; {"id":2,"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":8,"line":26},"textDocument":{"uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl"}}}
2024-04-03 06:18:58.117730 [INFO][ThreadId(9)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":2,"result":null}
</code></pre>
<p dir="auto">It looks like the server replies with <code>"result":null</code> …</p>
<p dir="auto">stopping the server, clearing out the log, and simplifying the code to</p>
<pre><code class="language-pl">#!/usr/bin/perl

use warnings;
use strict;
use lib '.';
use myModule;

print "Hello World\n";

sub ThisHereFunction {
    my ($x,$y,$z) = @_;
    return 0;
}

my $t = ThisHereFunction();
</code></pre>
<p dir="auto">… with my cursor in the middle of the <code>sH</code> from <code>ThisHereFunction()</code> on the last line</p>
<p dir="auto">Then I start the LSP server again, and do <strong>Goto definition</strong>, and even though the definition is just a few lines above in the same file, it doesn’t go anywhere, and the pair of commands in the log shows:</p>
<pre><code>2024-04-03 06:36:09.405503 [INFO][ThreadId(13)] - &lt;&lt;&lt; {"id":3,"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":12,"line":14},"textDocument":{"uri":"file:///C:/usr/local/apps/npp/npp862.ps3/lsp-test.pl"}}}
2024-04-03 06:36:09.406479 [INFO][ThreadId(12)] - &gt;&gt;&gt;  {"jsonrpc":"2.0","id":3,"result":null}
</code></pre>
<p dir="auto">So it’s still returning null. :-(</p>
<p dir="auto">I am hoping that <a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> , who knows Perl, and has tried your plugin earlier in this conversation with other languages, and seems to understand how it should behave, will be able to try some experiments with Perl and the PerlNavigator, so that he can supply differences of behavior between what he’s already seen with other languages and what he sees in Perl … or so that he can tell me what I’m doing wrong with my what-I-thought-were-simple Perl experiments.  It might just be that I’m not doing things in the right order, or not using the right steps to activate features.</p>
<blockquote>
<p dir="auto">Everything seems to work with 8.6.5 so far.</p>
</blockquote>
<p dir="auto">Oh, good.  I was thinking of updating to that version for my daily use anyway, since it seems to be stable.  But it will be nice to be able to play with this plugin without having to jump to a different N++ instance.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93993</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93993</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 03 Apr 2024 13:47:40 GMT</pubDate></item></channel></rss>