Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio does't check/highlight Kotlin Room DAO queries when string occupies more than 1 row

When I'm trying to break query for better readability/comprehension it stops being checked by IDE. This occurs on Android Studio 3.2 canary 16 and 3.1.2 stable, kotlin version 1.2.41.

enter image description here

When Room DAO is java class/interface everything works fine. Is it possible to have the same checking/highlighting for 2+ rows queries in kotlin as in java?

enter image description here

like image 787
yaroslav Avatar asked Jun 01 '18 13:06

yaroslav


1 Answers

This is supposed to be resolved in AS 3.6, but, for now, the workaround noted at https://issuetracker.google.com/issues/130141151#comment3 does the trick.

like image 121
Bink Avatar answered Oct 21 '22 12:10

Bink