def pred(x): candidates = lookup_files.file_by_dep(base, x, nests) return len(candidates) == 0 and "!" not in x.dep and x.dep not in external
def _goto_module(view, plasma): read_view = ui_read.all(view) candidates = lookup_files.file_by_dep(read_view.base, plasma, read_view.nests) opener.file_list_open(view, candidates)