Search code examples
scalaintellij-idea

How to run scala worksheet with options ?


I'm running some code in a Scala worksheet using IntelliJ and get the following compilation warning at the message window:

Warning: there was one deprecation warning (since 2.11.0); re-run with -deprecation for details

This is kind of weird that IntelliJ doesn't show me the deprecation warning at the editor window but never mind. How can I set my worksheet to run with this flag ?


Solution

  • There is an open request to add this feature:

    • SCL-10469 Worksheet does not respect console scalacOptions