Permalink
Browse files

SBT: a hack to display SBT icons in the project file chooser

  • Loading branch information...
1 parent 9522dae commit 19a5fcaee5b433fe528450554a2d4c1f08c42abc @pavelfatin pavelfatin committed Feb 27, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 SBT/src/main/scala/org/jetbrains/sbt/project/SbtProjectOpenProcessor.scala
@@ -42,4 +42,8 @@ class SbtProjectOpenProcessor(builder: SbtProjectImportBuilder) extends ProjectO
dialog.isOK
}
+
+ // That's a hack to display SBT icon in the open project file chooser (this part of the IDEA API is broken)
+ // TODO Remove this when IDEA API will be properly re-designed
+ override def lookForProjectsInDirectory = false
}

0 comments on commit 19a5fca

Please sign in to comment.