You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@inet56 Could you provide a screenshot to help us understand the issue? I believe the line wrapping is by design, so that people don't need to manually horizontally scroll to view function signatures. This screenshot from https://pkg.go.dev/golang.org/x/crypto/ssh is a good example:
We don't want key information to require horizontal scrolling. That said, I noticed the lines are breaking at odd places; if that's the reason for this issue, I completely agree. @jamalc , could we look at adjusting the line wrapping so that it only breaks at word boundaries?
@inet56 You have expressed a personal preference for this text to scroll horizontally. We're happy to take it into consideration but our UX team should review the request.
@fflewddur I also remember the choice to wrap function signatures was intentional to reduce the amount of horizontal scrolling that takes place on the page. It would be simple enough to break on whole words instead.
I believe that types have horizontal scroll because they are already multiline and it can make the content more difficult to track visually.