Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Which IDE's show tooltips for Perl builtins?

by SankoR (Prior)
on Jul 27, 2022 at 14:27 UTC ( [id://11145784]=note: print w/replies, xml ) Need Help??


in reply to Which IDE's show tooltips for Perl builtins?

No one has mentioned it yet but Brian Scannell released The Perl Navigator which promises "Code Intelligence for any Editor." Here is a link to the projet's repo on Github, a link to the announcement on /r/perl, and the talk Brian gave at last month's Perl/Raku conference. It is advertised to work in VSCode, Sublime Text, Emacs, and Neovim but is designed to work anywhere that allows such plugins. Platform support includes Windows, OSX, and Linux.
  • Comment on Re: Which IDE's show tooltips for Perl builtins?

Replies are listed 'Best First'.
Re^2: Which IDE's show tooltips for Perl builtins?
by haj (Vicar) on Jul 27, 2022 at 14:47 UTC

    While PerlNavigator indeed works with many editors, it should be noted that it does not show tooltips for Perl builtins.

Re^2: Which IDE's show tooltips for Perl builtins?
by LanX (Saint) on Jul 27, 2022 at 14:56 UTC
    Well Haj mentioned the various LSP solutions available.

    And I've seen this talk at TPC2022 and installed VS Code as reference for LSP plus the plugin°.

    Could you please tell me how to enable those tooltips?

    Probably I'm doing something wrong, but

    • I can neither see a code hint when pointing cursor or mouse
    • nor do I get code hints when typing a builtin

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

    °) Actually Daxim already kept pointing me towards this plug-in for month, because he knew about my IDE "visions" ...

      Oh, I have no idea at all beyond what's in that talk and the README from that repo.

      I still use SciTE which can handle api files like the perl.api file now hosted in this repo. Turned it back on really quick and it looks like this: https://imgur.com/a/jI7IvMD which is almost exactly what you're asking for but SciTE is hardly an environment designed to rival "Komodo, IntelliJ, VS Code, Padre, Emacs, VIM" or anything that aims to be a full IDE.

      Addendum: Notepad++ and Padre (edit: and apparently Komodo) are based on Scintilla. SciTE was designed as a testbed for the Scintilla editing component way back in the late 90s and has kept up with the component's changes. I'd use Notepad++ but I no longer work on Windows and it doesn't work on Linux or ChromeOS.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found