NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Aren't project files more important than library files?


Joined: 11 Mar 2011
Posts: 11
Reply with quote
I believe that PHPEd should first look in the project files (when searching for auto completion), and only then it should look into the libraries which I added to the project (as additional directories). Now the situation is that I have two classes with the same name, one of which is in the project files, and the second - in library files (which I don't care of). The PHPEd thinks the library class to be of more importance.

Eclipse does the best in this case - it allows to select, which file I'd like to open, if there are several possibilities. It would be cool already, if PHPEd allowed to select at least the priority of project files and additional libraries in project settings.
View user's profileFind all posts by drummerSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
May I ask - why you added this library into the project if you don't care of its content?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 Mar 2011
Posts: 11
Reply with quote
dmitri wrote:
May I ask - why you added this library into the project if you don't care of its content?


I do care, but don't you think that user files are more important than those in libraries?

I, for example, have several applications with the same classes for each of them. It would be cool, if I could select, which file I mean to use for autocompletion or whatever. Anyway, it is obvious, that in these situations it is also more likely that I mean that file, which is more close to the position of the current file.

Assume I have the following files:
1) /apps/frontend/modules/products/actions.class.php
2) /apps/frontend/lib/productHelper.class.php

3) /apps/admin/modules/products/actions.class.php
4) /apps/admin/lib/productHelper.class..php

Isn't it obvious, that first two files are more tied together? The same with 3 and 4. Because they have common subdirectories.

Guess what PHPEd does in this case.
View user's profileFind all posts by drummerSend private message
Aren't project files more important than library files?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic