dcaoyuan / nbscala

NetBeans Plugin for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Projects that have 'src' in any part of their path are ignored

michaelpigg opened this issue · comments

isProject in SBTProjectType requires that the not have a directory named 'src' in it's path. This causes all my projects that I have under ~/src to be ignored. I'm not sure the reason for this check. Perhaps it could be modified to check for 'src' directories under a path known to contain an SBT project?

Did you installed nbsbt as your sbt project's plugin, if so, all src paths would be fetched via sbt.

The problem is that I put projects that I'm working on in a directory named 'src' in my home directory. If, for example, I was going to work on nbsbt, I would clone it to /Users/michaelpigg/src/nbsbt. But nbscala would not recognize it as an SBT project because it has a directory named 'src' above it.

I've decided to change the name of my work directory to avoid this problem and will close the issue.