pantsbuild / intellij-pants-plugin

IntelliJ Plug-in for Pants Build
Apache License 2.0
74 stars 57 forks source link

Incorrect module sources path #611

Closed notxcain closed 3 years ago

notxcain commented 3 years ago

Pants: 1.30 Plugin: latest nightly After importing src directory, a module located in src/scala/scripts/recipes/labels gets created with incorrect package prefix. In sources IDEA suggests to change package from scripts.recipes.labels to scala.scripts.recipes.labels.

image
notxcain commented 3 years ago

I've managed to fix that by adding this to pants.ini

[source]
root_patterns:+[
  'src/*',
  ]