Scala code indents when there's an open parenthesis in a string

Simon Morgan 9 years ago updated by Aleksandar Prokopec 8 years ago 1
Create a new Scala file and enter the following:

When you hit enter at the end of the line, the new line is indented when it shouldn't be.


Also, note that typing things like:

    try {



and then moving the cursor (`|`) down in the next line and starting to type catch:

    try {


    } catch

indents the line with the `catch` by adding an additional `tab`, when it really shouldn't.