StarlaneStudios / vscode-comment-anchors

⚓A Visual Studio Code extension that adds support for comment anchors 🔭
https://marketplace.visualstudio.com/items?itemName=ExodiusStudios.comment-anchors
MIT License
212 stars 33 forks source link

How would I scan directories upwards in the file hierarchy until a dir named "source" is found? #107

Open ItsCubeTime opened 3 years ago

ItsCubeTime commented 3 years ago

Thanks in advance <3

Im using Unreal Engine which includes a huge file hierarchy, the UE4 projects has 2 "root" directories one of which is the engine file location and the other is the game "project" file location both of which has a dir named "source" in it.

Now Im only interested in the source directory of my project and not the engine source. Is there any way that I can exclude that other source directory as well? Its located in ... /Engine/Source ... whilst my projects are in .../<project name (this may vary as I work on several projects)>/Source/ ...