Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Cannot autoflow JSDoc comments #52

Closed
onury opened this issue Jun 12, 2016 · 4 comments
Closed

Cannot autoflow JSDoc comments #52

onury opened this issue Jun 12, 2016 · 4 comments
Labels

Comments

@onury
Copy link

onury commented Jun 12, 2016

/**
 * Atom autoflow test. Cannot autoflow JSDoc comments.
 *
 * @readonly
 * @private
 */

this is autolowed into this :(

/**
 /** /** * Atom autoflow test. Cannot autoflow JSDoc comments. * * @readonly * /**
/**
 @private */

Atom v1.8.0
Mac OS X 10.11.5

@50Wliu
Copy link
Contributor

50Wliu commented Dec 21, 2017

Current situation:

/** * Atom autoflow test. Cannot autoflow JSDoc comments. * * @readonly *
/*@private */

@onury what what you expect the result to be if it worked correctly?

@onury
Copy link
Author

onury commented Dec 21, 2017

wow. I don't even remember I opened an issue here.
It should not alter the format if shorter than the max. width.
If longer, it should keep the JSDoc style.

/**
 * Atom autoflow test. Cannot autoflow JSDoc comments.
 *
 * @readonly
 * @private
 */

Above should remain the same.

/**
 * Atom autoflow test. Longer than maximum width for example 80 chars. But this has 100 characters.
 *
 * @readonly
 * @private
 */

Above should be formatted to:

/**
 * Atom autoflow test. Longer than maximum width for example 80 chars. But this 
 * has 100 characters.
 *
 * @readonly
 * @private
 */

@matthewwithanm
Copy link

Would love to see this fixed!

@daviwil
Copy link
Contributor

daviwil commented Sep 11, 2018

This issue was moved to atom/atom#18021

@daviwil daviwil closed this as completed Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants