mavericks intellij scala not configuring properly

百般思念 提交于 2019-12-08 04:30:23

问题


I followed this link http://austindw.com/blog/programming/running-intellij-jdk-1-7-scala-2-10-mac-os-x-10-9-mavericks to configure scala in intellij but it says docs are not found.

any ideas why?

UPDATE: I have checked the directory structure looks like the scala docs is inside doc folder, here is the pic but still it cant find it.

UPDATE: I copied the files and folders from another api directory but still the same result, intellij couldnt find it. Here is the image:


回答1:


When this happened to me it was because the docs were indeed missing. Look inside /usr/local/opt/scala/idea/doc -- is there a scala-devel-docs subdirectory?

My solution was to download the API docs separately, and put them under the existing doc directory of my installation. You need to make sure that you create the hierarchy correctly: in your case /usr/local/opt/scala/idea/doc/scala-devel-docs/api -- you'll probably need to do some renaming after you extract the doc.

Here's a direct link to your version of the docs.




回答2:


If you decide to use IDE support to compilation and building, you might attract on yourself any sort of bug and the anger of software development divinities.

Please use a proper build tool to build software, such as Gradle or Sbt. SBT is native to Scala and Gradle can support it easily. Maven also has a Scala plugin.



来源:https://stackoverflow.com/questions/25389922/mavericks-intellij-scala-not-configuring-properly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!