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

让人想犯罪 __ 提交于 2020-01-14 10:27:08

问题


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.

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?


回答1:


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.



来源:https://stackoverflow.com/questions/50644738/android-studio-doest-check-highlight-kotlin-room-dao-queries-when-string-occupi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!