mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 11:00:15 +08:00
fada587297
* Initial support of ResourceNotClosedInspection, #283 * Improve UsingStringPlusMessageInspection * Add fix for sendAsImageTo and uploadAsImage * Add Fix for ResourceNotClosedInspection * ResourceNotClosedInspection support for Java * Add WrapWithResourceUseCallIntention for Kotlin, #284
8 lines
205 B
HTML
8 lines
205 B
HTML
<html>
|
|
<body>
|
|
<p>将资源直接使用转换为 `.use { ... }`
|
|
</p>
|
|
<!-- tooltip end -->
|
|
<p>将 `resource.sendAsImageTo(contact)` 转换为 `resource.use { it.sendAsImageTo(contact) }` </p>
|
|
</body>
|
|
</html> |