-
-
Notifications
You must be signed in to change notification settings - Fork 76
Getting started
- Install IntelliJ IDEA or other JetBrains IDE
- Start IDE and go to the
File -> Settings -> Plugins -> Browse repository
and install Perl plugin - Restart IDE
- Before starting, please, check out the list of implemented features and known issues.
Choose File -> New -> Project
:
Or File -> Open
and choose a directory with your project files:
Open settings dialog via menu or Ctrl + Alt + S
hotkey:
Open Languages & Frameworks -> Perl5
:
This is a main Perl5 settings page. Here you may find:
- Project settings, including interpreter, frameworks settings and a lot of other staff
- Module settings, see below
- List of known interpreters on your machine
- Button to add new interpreter
Click New...
button. In opened directory choosing dialog you should select a bin directory where perl executable is located. Usually, this directory is already selected in opened dialog. Click Ok. (Mac users: due to the bug in Mac UI, you will be able to select files and directories. You must select containing directory, not perl itself. See #1404)
Now open your module settings:
Here you may mark directories of your module as Libraries and framework roots if necessary. Just select a directory and click respective mark button.
To let Camelcade search for package files, you should mark your lib directory as a Perl5 libraries
(what you are doing with -I
parameter of Perl interpreter).
If everything was done right, you'll see a similar picture:
- You lib directory with special icon and gray explanation
- Selected interpreter with default
@INC
directories
Enjoy!
- Home
- Getting started
- Features
- Languages & Frameworks
- Integration
- Version Managers
- Misc