expose doSearch for extensions

ping @TomMalbran - i'd really like to use this to search for Git merge conflicts in a current project