ceylon / ceylon-module-resolver

DEPRECATED
Apache License 2.0
23 stars 9 forks source link

Add API to search modules by package name #48

Closed FroMage closed 10 years ago

FroMage commented 12 years ago

Depends on ceylon/ceylon-herd#102

gavinking commented 12 years ago

How about something for searching modules by class name?

FroMage commented 12 years ago

Sure, we can do that too.

FroMage commented 12 years ago

M5

FroMage commented 11 years ago

Moving to M6

quintesse commented 10 years ago

Ok, I think this is done now. There is are added options in ModuleQuery to search for member names, to search for the package name only instead of the entire name and to limit the result to exact matches.

At the same time I extended ceylon info with the options --find-member, --find-package and --exact-match as well as a --show-names option that shows the list of items (member or package names) that were actually matched.

quintesse commented 10 years ago

@FroMage This would now need to be hooked up to the Herd. Btw, the resulting list of matched items is not actually required for things to work, but it's nice to have. Let me know if for some reason you don't want to implement that for the Herd API because in that case it'd probably be best to remove it from the ceylon info tool as well.