Github user zjffdu commented on the issue:
https://github.com/apache/zeppelin/pull/3055
@felixcheung I am afraid we have to break paragraph text. Zeppelin
interpreter is different from scala shell. scala shell will execute the code
when user type a complete code, while in zeppelin there may be multiple
complete scala code.
e.g. If we type the following code in scala-shell, it will execute
`sc.version`, then you can type `1+1`. While in zeppelin spark interpreter, we
submit the whole code to spark interpreter which will break it and execute it
via scala repl api.
```
sc.version
1+1
```
---