Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Which IDE's show tooltips for Perl builtins? (IntelliJ)

by LanX (Saint)
on Jul 28, 2022 at 16:05 UTC ( [id://11145820]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Which IDE's show tooltips for Perl builtins? (IntelliJ)
in thread Which IDE's show tooltips for Perl builtins?

Installed IntelliJ Community Version and the Perl-Plugin which points to the CamelCade git-repo.

Was a bit of a hassle to tell the editor/project to use the (preactivated) Portable Strawberry aka "System Perl", otherwise the modules were not indexed. IOW no defaulting to existing Perl.

Typing Ctrl-Q "Quick Documentation" while over (not right after) a Perl symbol (here split ) showed the whole perldoc in a pop-up with scroll-bars.

The IDE knows a feature "Quick definition" (Ctrl-Shift-I) which had no effect on split , similarly Ctrl-P and Alt-Q.

Auto-completions listed arguments for just a small number of built-ins like say([$filehandle, @list]) but those args weren't included even that a help message suggested that pressing tab would help permutate. In this case - say - pressing Ctrl-P listed them again in a pop-up.

There was an error message that Xsubs declaration file was missing, but regenerating it didn't help with the things described.

Typing Ctrl-Shift-Space like in Notepad++ produced only a "No Suggestions" message.

DISCLAIMER: First time user of this IDE, might have certainly missed obvious options.

edit

Code-Snippets are available, they are called "Live Templates" (Ctrl-J)

Mostly for POD and Moose and those Perl standard statements known from Textmate and available in all IDEs.

It has also some snippets for "special" syntax like do { }', like this two 'do are listed in the auto-completion list, chosing the template inserts do { ^ } with the cursor ^ inside the brackets.

There is also a similar snippet sa for anonymous sub expanded to sub { ^ } but it's not listed in auto-completion when typing sub , even after a = ...!

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

Replies are listed 'Best First'.
Re^4: Which IDE's show tooltips for Perl builtins? (IntelliJ)
by PyPerlpop (Initiate) on Apr 18, 2023 at 22:05 UTC
    Hi Rolf,

    Do you mind sharing how you got the editor/project to use the (preactivated) Portable Strawberry aka "System Perl". I am having this same issue. I am only able to use Perl plugin and point to my installed perl interpreter only after starting a project in the IDEA with the python interpreter and changing the interpreter to Perl mid project.

    Thanks!

      Hmm, sorry ... that was a year ago on another machine and I haven't used it since.

      I'll try tomorrow to have a look again, but hopefully some of the "power-users" here can help you better. :)

      update

      Sorry no luck, I can't reproduce anymore what I meant back then.

      Cheers Rolf
      (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
      Wikisyntax for the Monastery

        Thanks, appreciate the response!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-29 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found