Unable to import sbt project in IntelliJ 2017.2.2
Tried various options (un/reinstall intellij, different sbt version (0.13.12/15/16), different plugin version 2017.2.5/6, nightly 2.490), Always result to same error message:
[info] Resolving key references (31217 settings) ...
[info] Set current project to mp (in build file:/F:/repo/mp/)
>
[error] Error parsing imports for expression.
<set>:0: error: identifier expected but 'import' found.
import $9e23d6edaa1ec0b4cd23.import
^
>
>
while I can use command line to run sbt and compile.
Any idea ?
请先登录再写评论。
Turns out it's problem of sbt that if we use literal `import` as project name, sbt will complain with the message when doing "set" command which is what intellij will do during import.