You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no nice option to add Kdoc for @throws, with automatic tag sorting and new lines handling.
Describe alternatives you've considered
You can always add the tag to the general kDoc CodeBlock, but you need to add the new lines. Also, the order feels wrong:
/** * Foo summary * * @throws FooException if fails * @parameter bar the content * @returns true*/
@kotlin.Throws(FooException::class)
funfoo(bar: kotlin.String): kotlin.Boolean {
}
Additional context
What about other tags, like @see, @sample etc.? Do you want to have an CodeBlock for each of them? And what about the TypeSpec.Builder?
Or should this issue just focus on FunSpec and @throws?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
There is no nice option to add Kdoc for
@throws
, with automatic tag sorting and new lines handling.Describe the solution you'd like
Describe alternatives you've considered
You can always add the tag to the general kDoc CodeBlock, but you need to add the new lines. Also, the order feels wrong:
Additional context
What about other tags, like
@see
,@sample
etc.? Do you want to have an CodeBlock for each of them? And what about theTypeSpec.Builder
?Or should this issue just focus on FunSpec and
@throws
?The text was updated successfully, but these errors were encountered: