Komodo IDE wastes computer resources by scanning directories with source code I don't use in my projects, e.g. XAMPP/php/PEAR. Is there a way to disable this? I am currently using version 7 beta 2.
How are the folders registered in Komodo? Are they included in the PHP preferences? Or is this a project that includes your XAMPP folder?
You can't manually exclude folders from Code Intel scans. You're not asking to completely disable code scanning correct?
You could try excluding folders you don't want scanned by:
-Right click project
-Add ;/php/* to the end of the "Files and directories to exclude:"
I don't use the project feature. I don't want to be locked into a product. I just work with individual files.
> How are the folders registered in Komodo? Are they included in the PHP preferences?
I believe Komodo has learned about the PEAR folder from this path: C:\xampp\php\php.ini, which is what it wants to know in order to do syntax checking. Preferences->Languages->PHP
It's not necessary to include a php.ini file for syntax checking as Komodo supports that by default:
Unfortunately there is no way to exclude files from Code Intel scanning.
Komodo uses the following paths:
It's not possible (as of yet) to exclude system PHP folders, i.e. the ones that come from the php.ini file, though there is a Komodo enhancement request to do this:
Thanks. I even see myself in the cc list of that request :). Is this request going to get implemented reasonably soon? Apparently it's pretty popular.
I cannot say if/when the request will be implemented. Code Intelligence is something we are continually improving in Komodo, and I would like to think that this should be something we can look into during Komodo 7.
I had to delete (move) PEAR folder in order to stop Komodo's hungry quest for files to scan.
I think Komodo already has enough features, so it's a good time to focus on stopping the abuse of the computer resources by Komodo's scanning things that don't need to be scanned. Version 7 is a good version to do it in, in my opinion.
If you'd like, you can take a look at this FAQ and see what you can do with your own Komodo instance to increase efficientcy. This is a link about features in Komodo that use the most resource:
Thank you, Carey. I've taken a look at it. I still want to prevent Komodo from scanning files it doesn't need to be scanning. It puts extra wear on my hard disk and slows down things, and it's for no good reason at all. For example, I have no use for PEAR in any of my projects, so PEAR source code files shouldn't be scanned. This seems pretty basic to me. Do you disagree?
It's certainly a good idea, I do agree. Please file an enhancement requests here:
That is the very best way to draw attention to a feature you would like changed.
Carey, Todd has posted a link to an existing feature request above: http://bugs.activestate.com/show_bug.cgi?id=74765
That is good. You can post a comment on the bug to express your interests in the enhancement.
| Contact Us
© 2012 ActiveState Software Inc. All rights reserved.
ActiveState®, Komodo®, ActivePerl®, ActivePython®, ActiveTcl®,
and Stackato® are registered trademarks of ActiveState.
All other marks are property of their respective owners.