Hi,
I´m new here, because I have to work with the komodo ide.
After the installation I have a little problem:
On my computer runs WinXP, but the Perl script will be executed on a ubuntu linux machine. The /home directory is a shared folder in the winXP system.
The Problem is: When I work on the WinXP System, komodo underlines red for example this line "use WWW::Mechanize;" because this package is not installed on the windows system, so komodo don´t support this package.
How can I change the used Perl directory for komodo, so that komodo know that the packages are installed and can be used?
Should I share the /bin/perl directory?
thank you in advance
tabstop
ps
sorry about my bad english :)
Hi tabstop,
I've had this issue in the past.
There's one of two things you can do.
On the Linux box you can share up the libs/ and point Komodo at them, telling it to use the directory as a resource area.
Or - and this is a dirty method - using the PMM you can install the packages locally.
Hope this helps.
---
D.Waterhouse
# On the Linux box you can share up the libs/ and point Komodo at them, telling it to use the directory as a resource area.
Thank you for your answer.
Where did I find the settings to point Komodo to the libs?
Hi tabstop,
My apologies. I meant to include it.
From the Menu..
Edit->Preferences
then,
Languages->Perl
and finally look at the bottom of that area, and you'll see the 'Additional Perl Import Directories'.
That's where you add the extra places to look.
Hope this helps.
---
D.Waterhouse
ok thank you, I import the following directorys.
/etc/perl
/usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
Now is no line red underlined`. Thank you :)
Can you say me how did now I can now use the syntax completion?
Other IDEs shows me when I type for example "$mech = WWW::" the class mechanize and the others or the methods of the classes. How did that work in Komodo? Have I use a Shortcut?
The syntax completion is contextual.
So what you should see appearing in context is the available classes, methods, and variables.
If you begin typing and hit [TAB], you should be able to cyclicly peruse the available options.
:)
It's kind of automagic.. :)
---
D.Waterhouse
Also - when instantiating a new class or calling a method, you should get the little popup box with the requierd parameters. It's a really nifty little addition, and amazingly useful, especially when you're using someone else's code.
:)
---
D.Waterhouse