Keywords in Backticks

Hello jetBrains,

I just observed something strange. In Idea 10.5 with newest Scala Plugin (through the plugin updates),
I have to use an identifier with backticks:
obj.`type`(someString)

Since type is a Scala keyword I must enclose it in backticks. I do it and if the cursor is moved with
the cursor keys the last backtick is removed:
obj.`type(someString)

which results in error again.

When I add the last backtick, move the cursor and then save the document, it seems to prevent the problem.

best regards

1 comment
Comment actions Permalink

I can't reproduce this really strange problem. Cursor keys shouldn't remove backticks, that's can be IDEA or scala plugin bug. It seems we need more information on this bug (you can attach logs from .IntelliJIDEA10 folder, there can be some excpeption, is it permanent behaviour?).

Best regards,
Alexander Podkhlayuzin.

0

Please sign in to leave a comment.