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

For object types, switch between single line and multiline display #977

Open
brettz9 opened this issue Feb 2, 2023 · 0 comments
Open

For object types, switch between single line and multiline display #977

brettz9 opened this issue Feb 2, 2023 · 0 comments

Comments

@brettz9
Copy link
Collaborator

brettz9 commented Feb 2, 2023

Motivation

Allow greater readability (or more condensed viewing).

Current behavior

Single and multiline object types are not auto-interchangeable. E.g.,

/**
 * @param {{a: string, b: number}}
 */

to:

/**
 * @param {{
 *   a: string,
 *   b: number
 * }}
 */

Desired behavior

Allow auto-adjusting of single and multiline object types, including auto-provision of indent when displayed mulitline.

Alternatives considered

None.

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

No branches or pull requests

1 participant