Unclaimed project
Are you a maintainer of kotlinpoet? Claim this project to take control of your public changelog and roadmap.
Changelog
A Kotlin API for generating .kt source files.
Last updated 12 days ago
Thanks to @brokenhappy, @tajobe, @niyajali, @ForteScarlet for contributing to this release.
This release is source- and binary-compatible with KotlinPoet 1.x.
The most important behavior change in this release is that spaces in generated code don't wrap by default anymore.
KotlinPoet 1.x used to replace space characters with newline characters whenever a given line of code exceeded the length limit. This usually led to better code formatting, but could also lead to compilation errors in generated code. Non-breaking spaces could be marked by the · character, but the discoverability of this feature wasn't great.
KotlinPoet 2.0 does not wrap spaces, even if the line of code they occur in exceeds the length limit. The newly introduced ♢ character can be used to mark spaces that are safe to wrap, which can improve code formatting. The · character has been preserved for compatibility, but its behavior is now equivalent to a regular space character.
♢ placeholder representing a space that is safe to wrap.KSTypeAlias.toClassName(). (#1956)KSType.toClassNameOrNull(). (#1956)KSAnnotation.toAnnotationSpec(). (#1956)KSType.toClassName(). (#1956)A V2Ray client for Android, support Xray core and v2fly core
The Kotlin Programming Language.
Legado 3.0 Book Reader with powerful controls & full functions❤️阅读3.0, 阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
基于无障碍,高级选择器,订阅规则的自定义屏幕点击安卓应用 | An Android APP with custom screen tapping based on Accessibility, Advanced Selectors, and Subscription Rules