Hi,

New problem, sorry, we really need a developer docs :P

Someone remember why namespaces are implemented as ITypes 5 years ago by 
Michael Spector ? Problems with old DLTK api?  I cannot find any informations 
in mailing list history.

In theory this should be implemented by IElementRequestor.acceptPackage instead 
of IElementRequestor.acceptType.

Advantages:
1. Performance: we don’t have to filter namespaces while search (for ex. group 
by namespaces in PHPExplorer, any findType call)
2. No more ugly green icon :P
3. Cleaner PHP outliner, more JDT like

Disadvantages:
1. Migration ;)
2. Problem if file have more than one namespace, should be easy to fix by 
explorer and outliner content providers

--
Dawid Pakuła 
+48 795 996 064

_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to