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

Allow hiding for long parameters. #41

Open
m50 opened this issue Mar 7, 2021 · 1 comment
Open

Allow hiding for long parameters. #41

m50 opened this issue Mar 7, 2021 · 1 comment

Comments

@m50
Copy link

m50 commented Mar 7, 2021

If using Typescript, sometimes just the type will display, and sometimes (such as with useCallback) the type can be very long, and make the line absurdly long.

Example:

image

It would be nice if there was an option to hide parameters over a configurable length.

@AntonKrychevskyy
Copy link

Also it would be nice (if it is possible at all) to take into account wrap line length value and wrap line when it is exceeded with parameter annotations.

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

No branches or pull requests

2 participants