Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] TypeSelectionDialog2 in PDT - searching ITypes under namespace.

Hi All,

 

The implementation of Namespaces in PDT uses IType. There is a logical reference between IType and it’s Namespace exists, where Namespace is an enclosing type.

Using the search flow invoked from TypeSelectionDialog2, no ITypes declared in Namespace returned.

From the code investigation, I’ve found peace of code that filters the results (see attached).

My question is:  Does it makes sense to always perform EXACT search for enclosing type?

In case it’s not specified, and no enclosing type exists for particular IType, the flow is OK.

In case where enclosing type exists, but not specified during the search in a query, it shouldn’t be filtered during the search flow, isn’t it?

Please see the attached patch.

 

Regards,

                Vadim Punski

                                                                                                                                                                                                                                                        

Attachment: search type fix.diff
Description: search type fix.diff


Back to the top