2012-12-08 39 views
13

使用IntelliJ創建新的Scala項目時,出現scaladoc警告。爲IntelliJ設置Scaladoc

請問這是怎麼解決的?

enter image description here

+0

possible dupl [用IntelliJ設置scala](http://stackoverflow.com/questions/10827017/setting-up-scala-with-intellij),請參閱[this comment](http://stackoverflow.com/questions/10827017) /設置 - 上 - 斯卡拉與 - 的IntelliJ#comment14122493_10828320)。 – CrazyCoder

回答

8

我會繼續在這裏回答我的問題

  1. 導航到Scala download page並下載相應的API
  2. 解壓存檔,並移動內容到你的Scala的安裝(我跑須藤mkdir scaladoc創建/Library/Scala/2.10.0-RC2/scaladoc
  3. 更新模塊指向正確的位置

enter image description here

,可以快速輸入

object Main extends App { 
} 

驗證安裝一旦你按Ctrl + ĴApp,您應該看到匹配的在線版本scaladoc

enter image description here

+0

我試過但不起作用。 – jhegedus

+1

你的「Ctrl + J」映射到了什麼?我的密鑰綁定是不同的。 –

+0

@KenWilliams我猜他正在使用Mac。如果您使用Windows,請使用Ctrl + Q – Wins