Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project does not correctly import into IntelliJ #64

Closed
joshlemer opened this issue Nov 1, 2019 · 9 comments
Closed

Project does not correctly import into IntelliJ #64

joshlemer opened this issue Nov 1, 2019 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@joshlemer
Copy link
Contributor

joshlemer commented Nov 1, 2019

The project loads into IntelliJ, but then for some reason, IntelliJ cannot understand that the tests require JUnit as a dependency, so everything JUnit is marked in red. This is confirmed with multiple fresh imports of the project, across multiple users and OS's (at least on Mac and Linux).

Screen Shot 2019-11-01 at 1 24 00 PM

@joshlemer joshlemer added the help wanted Extra attention is needed label Nov 1, 2019
@pioorg
Copy link

pioorg commented Nov 27, 2019

I think it's caused by #51, so this ticked is a duplicate.

@SethTisue SethTisue self-assigned this Dec 30, 2019
@SethTisue
Copy link
Member

@joshlemer is the problem fixed now?

@joshlemer
Copy link
Contributor Author

@SethTisue a fresh clone still doesn't work on my machines, I know @julienrf was having trouble as well, maybe he can try out again as well.

@julienrf
Copy link
Collaborator

julienrf commented Jan 1, 2020

Actually, this was fixed by #63. It seems that it is not a good idea to define a CrossProject in the root directory because sbt also defines a root project in this directory that aggregates the CrossProject modules.

@SethTisue
Copy link
Member

There is some some further (but inconclusive) discussion on #63. I don't think it's established (though not disproven either) that we're doing anything wrong in this repo. I would be curious to know if the other modules (scala-xml, scala-parser-combinators, etc) have the same problem or not. Perhaps there's some general advice we could provide to IntellIJ users at the sbt-scala-module level. It would also be useful to know what manual steps are necessary in order to get a working project IntelliJ.

@SethTisue SethTisue removed their assignment Mar 4, 2020
@SethTisue
Copy link
Member

SethTisue commented Oct 27, 2020

I wonder if #114 randomly/accidentally fixed this, and/or if current IntelliJ is smarter

@julienrf
Copy link
Collaborator

Maybe! If someone confirms that the project can now be imported we can close the issue.

@joshlemer
Copy link
Contributor Author

I confirm that I still can't import this into IntelliJ 😭

@mcallisto
Copy link

I just wanted to report that I am using the latest IntelliJ IDEA 2021.3.1 (Ultimate) and the import worked just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants