Mark source folder

I am trying to extend this plugin, but I cannot for the life of me figure out where exactly it marks the main/src/scala as a source folder and turns blue.


I have chased this down for a few days, so I thought I would ask here and see if I could get any assistance.



评论操作 固定链接

That would depend. What are you trying to do more generally?

For an sbt import paths are stored as source/resource/etc in SbtProjectResolver.createContentRoot, but that is part of the import process and doesn't directly mark them.

评论操作 固定链接

Thank you so much!  I was poking around in that class, but this function for whatever reason I was completely overlooking!  This is exactly what Iw as looking for!