Evaluate Expression choose which language the expression has

Answered

I have now used IDEA for some time, with an application that also connects to a database. For debugging I used the Evaluate Expression-Window, in which I then could evaluate Java-code. The problem now is that the evaluate expression-window suddenly tries to evaluate everything I type as SQL-code, that is then executed in the database, even though I select Java-code.

My googling didn't give me a way how to change this back (to be able to evaluate Java-code again and NOT SQL). So I was wondering if there is a setting somewhere where the programming-language of the expression to be evaluated can be configured?

If that's not implemented yet it would be super nice to be able to change the programming-language directly in the evaluate-expression window (sometimes SQL might be nice ;) ).

0
1 comment

Could you please provide a demo project to reproduce a problem?

0

Please sign in to leave a comment.