I wonder how accurate the infos are if they adapt automatically to the current Perl version.
I did a bulk conversion from the Perl 5.30 perlfunc.pod into the Notepad++ auto-completion file for Notepad++ in May 2020, which was a drastic improvement from the pre-v5.10 keywords available before (it didn't even have say!). (And recently, vinsworldcom and I collaborated on getting more of the pragmas into the auto-completion and syntax highlighting lists.) Since it's been a couple years now, I should probably go check for the changes from 5.30 to 5.36 and add those in.
Above my knowledge grade, I fear. But the language support system is written using plugins, so it would be possible to write a different plugin for every Perl version and then select the one currently in use.
Not exactly. The function auto-completion feature is built in to Notepad++, and that's what's providing the popups with the selectable variants (such as your example with split having four variants). The syntax highlighting is done by the Scintilla/Lexilla Perl lexer that is included in Notepad++. You could, in theory, change the autoCompletion\perl.xml every time you wanted to change Perl version, restarting Notepad++ after that change, but I'm not sure it's worth the effort. Regarding LSP, there are a couple of people that I know are working on LSP clients for Notepad++, though they haven't been officially released yet; but I don't think even those would be easy to customize to easily swap between Perl versions.
Will it also offer to insert a snippet with jump-points for the arguments?Not in the version I am using, but that does not mean it could not be done using a different plugin, which may even exist
Notepad++ doesn't have a built-in snippet-with-jump-point feature. There are plugins for that, including the QuickText plugin that vinsworldcom maintains.
In reply to Re^4: Which IDE's show tooltips for Perl builtins? (Notepad++)
by pryrt
in thread Which IDE's show tooltips for Perl builtins?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |