Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!

by ait (Hermit)
on Oct 14, 2021 at 17:05 UTC ( #11137521=perlmeditation: print w/replies, xml ) Need Help??

Hi there! ye fellow monks.

Just writing to report that I've been trying out and actually using IntelliJ IDEA Community for Perl on a daily basis and it works AMAZINGLY WELL!!!

I am so happy, that if JetBrains would charge to commercially support it, I would actually upgrade to IJ Pro. It's THAT good, IMHO.

A HUGE shoutout and THANK YOU to Alexandr Evstigneev!! (Apparently hurricup here on PM).
Here's the plugin page: https://plugins.jetbrains.com/plugin/7796-perl

Also, a thank you to JetBrains for such a great IDE (I use it in my day job every day for years now).

Features I like so far:

  • Good and smart syntax highlighting
  • Refactor/renaming stuff
  • Autocompletion
  • Running a script inside the IDE console
  • Debugging with point and click breakpoints, watchers, evaluations (basically all you have in Java)
  • Jumping to implementation (i.e. Goto -> declaration/implementation actually works and drills into modules, etc.)
  • Find in path is a great IJ feature and works nicely with Perl code
  • Specific support for: mason, TT2, Mojolicious, and embedded Perl (I haven't tested all of these)

BTW, It may seem/feel ironic that a Java IDE is probably the best tool for Perl in 2021, and painful that we can't get our crap together with Padre, but hell, anything that helps Perl adoption is good in my book. Yeah, even if it's written in Java. Besides, many people currently making a living in the JDK ecosystem, could quickly try and adopt things like Mojo or Dancer if you can integrate seamlessly into their workflow so it's a win, win, win for everyone.

Best,
Alex

  • Comment on IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!

Replies are listed 'Best First'.
Re: IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!
by choroba (Archbishop) on Oct 14, 2021 at 17:20 UTC
    > (not sure if he's here on PM)

    I guess it's hurricup, at least they mentioned working on the plugin.

    BTW, I moved your post to Meditations as I didn't see a question anywhere.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re: IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!
by stevieb (Canon) on Oct 14, 2021 at 17:20 UTC

    I've been using it for several years now, and have posted about the setup several times. I absolutely love it.

    Note that they have an excellent Open Source licensing program. This program if you qualify gives you a yearly-renewable license whereby you can use the professional version of every single one of their products. I've had this license for several years as well. I frequently use IDEA, PyCharm, CLion (and Rider, solely for the development of berrybrew), and Datagrip for databases.

    The company itself is very nice to deal with (as I have to at least once per year for my license renewal).

    As far as Perl, I concur that kudos goes out to Alexandr for sure. He even made things so that you can select berrybrew Perls as the SDK ;)

    Also check out Devel::Camelcadedb, which affords you full Perl debugging support from within the UI.

    Update: Oh, yeah... forgot to mention that the IDE also has a Vim plugin, so you can use a real editor inside of the IDE :P

      Thanks for the additional details.

      To confirm your point, it also happily works with Perlbrew as well.

Re: IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!
by LanX (Sage) on Oct 14, 2021 at 18:27 UTC
    It would be nice, if people were more specific, than just saying "it's soooo great".

    What are you comparing it with, by which criteria?

    I once started a thread listing different things people expect:

    What are the criterias of a "good" Perl IDE?

    I never had the time to test IntelliJ and CamelCade and honestly, who does have the time to check on all possible IDEs?

    So more detailed feedback would be more than welcome!

    Thanks! :)

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

      LOL, you're right!

      I guess the excitement is being able to use a solid IDE very easily with very little friction to get to work.

      Features I like so far:

      • Good and smart syntax highlighting
      • Refactor/renaming stuff
      • Running a script inside the IDE console
      • Debugging with point and click breakpoints, watchers, evaluations (basically all you have in Java)
      • Jumping to implementation (i.e. Goto -> declaration/implementation actually works and drills into modules, etc.)
      • Find in path is a great IJ feature and works nicely with Perl code
      • Specific support for: mason, TT2, Mojolicious, and embedded Perl (I haven't tested all of these)

      I hope this gives you a better idea. There's probably more and I'll update this node from time to time as I find or discover new features.

      «…who does have the time to check on all possible IDEs?»

      Yes, sure. Nothing but the truth. On the other hand: There aren’t so many serious candidates to check for serious users 🤪😎. BTW, as an result of this thread I came back to BBEdit. It isn’t really an IDE but close to. The friendly manual has only ~400 pages. Which is about 300 pages less than the friendly Emacs manual. I guess I’ll save some time. Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

Re: IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!
by perlfan (Vicar) on Oct 14, 2021 at 17:18 UTC
        Most people here still manually enter their Perl code using toggle switches.

      Thank you .. I feel seen by this. My first work term (Fall '77) we had to enter the bootstrap program by hand in octal, using a number pad on the front panel of the first prototype. That allowed us to load the second bootstrap program using paper tape .. which enabled us to load the monitor program via 8" floppy disk drive.

      I worked in octal for the next three years, and upgrading to hex was a bit of an adjustment. Forget 377 and 177776, now it's FF and FFFF. :)

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

        upgrading to hex was a bit of an adjustment. Forget 377 and 177776, now it's FF and FFFF.

        Oh, I found this part --> _ <-- right below your posting. It looks like it broke right off the final "E".

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

        Another "Alex" PerlMonger in Toronto? this can't be true!

      I am for once in the "most people" category! Though I used IntelliJ for android dev. It certainly is impressive.

      Toggle switches? How quaint. I swipe magnets across my magnetic tapes to enter the bits. Gets a bit tricky, though, with those new-fangled "floppy" disks, those bits are *tiny*.

      perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
Re: IntelliJ IDEA for Perl !! Try it, use it, BE HAPPY !!
by karlgoethebier (Abbot) on Oct 15, 2021 at 11:35 UTC

    First impressions: I have GoLand (bought for €199.00 for the first year) and at JetBrains they say that this plugin is compatible with Goland. I installed it over the plugin dialog. The only option i get is to create a Perl file. I installed the community edition of the IDE and the plugin. Now i can create a Perl project. And it finds my Perlbrew. But it puts the system Perl in the shebang. Not nice. Now i need to start some investigations - if i don't lose my patience. And i have the same IDE twice on my machine. These kind of silly problems remind me very much to Eclipse. Isnogud in other words.

    «The Crux of the Biscuit is the Apostrophe»

      That's not good. I truly hope that JetBrains doesn't follow Eclipse's footsteps.
      Having paid for GoLand perhaps you can write to their support about the issues you're having..

        Yes, sure. This should be the way to go. As GoLand is a real cool IDE and it would be really nice to have something similar for Perl. I wonder if they feel responsible for a free plugin. Best regards and thanks for your kind reply, Karl

        «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11137521]
Approved by Corion
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2021-12-09 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (36 votes). Check out past polls.

    Notices?