mpeltonen/sbt-idea — pull request #159 by elehack (2012-07-13 02:41:26+00:00)
Title: Add ideaPackagePrefix option

IntelliJ supports a 'packagePrefix' attribute on source directory entries in module XML files, which then allows it to recognize classes in source files using flatter directory structures (e.g. the whole project is under `net.elehack.wendoc`, so `src/main/scala` has directories `markdown`, `dom` instead of `net/elehack/wendoc/...`).

This change adds support for configuring this package prefix on a per-project level, using an `ideaPackagePrefix` configuration option. It is a separate option defaulting to `None`, rather than using or defaulting to `ideaBasePackage`, so that it doesn't surreptitiously break peoples' projects.