Can't select Perl5 Interpreter as SDK

1,414 views
Skip to first unread message

xmwe...@gmail.com

unread,
Oct 6, 2017, 2:57:04 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
I just installed IntelliJ IDEA COMMUNITY 2017.2.5 and followed the following Guide: code.visualstudio.com to install the Perl-Plugin.

I installed the Plugin and Restarted the IDEA. After installation, I created a new Empty Project and wanted to add an Perl5 Interpreter as SDK. I can't pick Perl5 Interpreter. I can only choose between JDK, IntelliJ Platform Plugin SDK and Android SDK.

When I go into Settings > Languages & Frameworks > Perl5 by default there is Perl5 Interpreter: Disable Perl5 support. Create a new one on my C:\Strawberry\perl\bin doesn't change the overall situation.

Can I get some more detailed instructions on how to install this plugin?

Best regards.

If more details about the environment are required, please let me know.

xmwe...@gmail.com

unread,
Oct 6, 2017, 2:58:39 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
I followed the Guide on: https://github.com/Camelcade/Perl5-IDEA/wiki/Getting-started:-IntelliJ-IDEA. The link above is wrong.

Alexandr Evstigneev

unread,
Oct 6, 2017, 3:06:03 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
I've not yet updated wiki for the recent changes. Please, create an empty module (any type)

Than go to file->settings->Languages & Frameworks -> Perl5


xmwe...@gmail.com

unread,
Oct 6, 2017, 5:00:21 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
And what am I expecting after creating an empty module?

Before I created a module, i Just wrote a Hello World and it ran fine.

Then I added a actual project and tried to navigate into used Modules (CTRL-Leftclick). It's working as long as those modules are in my local perl installation.

On a project with self written modules, i can find the Modules using the "Search Everywhere" but CTRL-Leftclick on it won't work because he obvious can't find them. Usually I'd do this on the project structure when coding in Java but this time im a little confused how to do this for the perl (since I don't have an sdk available for it).

Alexandr Evstigneev

unread,
Oct 6, 2017, 5:06:01 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
As I wrote, `Than go to file->settings->Languages & Frameworks -> Perl5`
There you may configure perl5 sdk and mark some dirs in project modules as lib roots. 
Perl has it's own project structure and may be used as second language in any project



xmwe...@gmail.com

unread,
Oct 6, 2017, 8:53:24 AM10/6/17
to Camelcade - Perl plugin for IntelliJ IDEA
I could resolve my problem by using the 
  • Project Structure to "Import Module"s which exist on other directories on my system
 and 
  • using the File > Settings > Language & Frameworks > Perl5 Tab to declare my internal and external directories to be Perl5 Libraries.

Watching a bit longer on the File > Settings > Language & Frameworks > Perl5 Tab helped me alot. Thank you for your efforts.
Best Regards.
Reply all
Reply to author
Forward
0 new messages