IntelliJ: Scala worksheet don't pick up code changes without restart

前端 未结 2 2094
名媛妹妹
名媛妹妹 2021-01-04 02:11

If I have the contents of an object imported at the top of a Scala worksheet in Intellij, when I add new things to the object, they cannot be found in the worksheet. Even af

2条回答
  •  自闭症患者
    2021-01-04 02:34

    This seems to fix it, though I would love to know why the default setting is broken, or what this undocumented setting does: Go to File -> Settings -> Languages & Frameworks -> Scala -> Worksheet (tab) . Unselect "Run worksheet in the compiler process".

提交回复
热议问题