Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line break after @sample breaks Intellij functionality #310

Closed
bethcutler opened this issue Apr 13, 2022 · 2 comments
Closed

Line break after @sample breaks Intellij functionality #310

bethcutler opened this issue Apr 13, 2022 · 2 comments
Assignees

Comments

@bethcutler
Copy link
Contributor

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
@strulovich
Copy link
Contributor

I agree this is an issue, I will try to get to it after solving a few of the current code issues though.

@nreid260
Copy link
Contributor

This was fixed by merging kdoc-formatter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants