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

Parameter labels push content off the edge of the view when word wrap is on #28

Open
AverageHelper opened this issue Sep 12, 2020 · 0 comments

Comments

@AverageHelper
Copy link

I have a condition here that Prettier and VS Code both agree should normally fit on a single line:

Screen Shot 2020-09-12 at 9 15 32 AM

However, when I have VS Code's word wrap turned on (CMD + SHIFT+ P > View: Toggle Word Wrap), scrolling to this line's end is disabled.

When I expand the line arbitrarily with spaces, scrolling returns, but of course Prettier trims that back real quick.

For clarity, I should note that the entire line can be scrolled through when I disable word wrap.

A workaround right now might be to shorten Prettier's line length option to hard wrap early, but I don't want to change the project's configuration on my coworkers when I'm the only one who uses this plugin.

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

1 participant