panicinc / icarus

Swift, C, C++, and Objective-C Support for Nova
MIT License
69 stars 5 forks source link

Need to index generated files #16

Open PadraigK opened 9 months ago

PadraigK commented 9 months ago

When using build tool plugins in Swift packages, it's possible to generate code that is then available to the project. Some examples of projects that do this are:

When the build tools run, they generate their output in .build/plugins/outputs

Screenshot 2023-10-06 at 2 07 30 PM

Since this is in a hidden root folder which is generally in .gitignore I think that by default Nova will not index them. I was able to get things working with these project settings:

Screenshot 2023-10-06 at 2 13 49 PM

I'm not sure if a plugin can influence the indexing allow/block list, but it would be great to have this "just work" somehow.