Fix a bug with source folders not being honored in the language service

* consolidated another resource visitor code block - hopefully I've got
them all now
* credit to barakka for find this one as well