Hi, I have some inconvenience switching from java ...
# announcements
w
Hi, I have some inconvenience switching from java to kotlin in IDEA. Some commonly used intensions / warning suppress not work in kotlin such as SpellCheckingInspection not works
Copy code
...
        @Suppress("SpellCheckingInspection") val data = """
                * 1018 FETCH (UID 1081 BODY[] {5639669}
                Received: from BAIYANG (unknown [218.76.52.63])
                        by <http://esmtp4.qq.com|esmtp4.qq.com> (ESMTP) with
                        id ; Fri, 29 Apr 2016 17:42:58 +0800 (CST)
                X-QQ-SSF: 00410000002000F0FHF0B00A0000000
                ... ...
                usXXI8+T49MbfyuwHtLfHujuXkjFoY4ntf8At6V0fgNN35NO6/aPaVmPcmkxMdxMc9fR7+zb6g4P
                x06+luU+zH+VLGSr+9zxyDeOWPPHn67f8fbTvj7szzH83PpzEen1jrtO9/J2dxTsIjNJx28BmPcj
                j0mXKFBqaXcuoy9bdfW4UfPEh1cAk3Id59v48KSccmC5BXu/PsA43
        """.trimIndent()
if in java, it is just easy done using intensions: OPT+ENTER -> "Typo: Rename to" -> "Suppress for xxx" such as String concation intension not works
Copy code
val s = "1" + "2" + "3"
if in java, it is easy to reformat strings using intensions: "Copy concatention text to clipboard" then paste and reformats but in kotlin, there is only one useful intensions: "Convert concatention to template" which is not as good as java as, and many string concatention form (such as with crlf?) not supported Does this requirement has any better replacement in kotlin that I do not know? Or is jetbrains scheduling the kotlin supports improvement in the near future?