Skip to content

Line break after @sample breaks Intellij functionality #310

@bethcutler

Description

@bethcutler

If the @sample tag is used in KDoc with an extra long path, the path will be placed on a separate line from the @sample tag, which breaks the functionality in IntelliJ.

Making a special case here to not break between the annotation and the path seems reasonable.

/**
 * This is my SampleInterface interface.
 * @sample com.google.java.sample.library.extra.long.path.MyCustomSampleInterfaceImplementationForTesting
 */
interface SampleInterface

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions