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

Resizable Docstring #26

Closed
timrid opened this issue Jul 2, 2020 · 2 comments
Closed

Resizable Docstring #26

timrid opened this issue Jul 2, 2020 · 2 comments

Comments

@timrid
Copy link

timrid commented Jul 2, 2020

I'm wondering if there is a way to resize the docstring, that is printend while autocompletion. If there is a very long docstring, there are many linebreaks which make it harder to read, like in the image below.

image

@timrid timrid added the waiting for user response Requires more information from user label Jul 2, 2020
@erictraut erictraut removed the waiting for user response Requires more information from user label Jul 2, 2020
@jakebailey
Copy link
Member

Unfortunately, the docstring window's dimensions are determined by the editor; a language server can only respond with markdown and it's up to VS Code to display it. We don't get any sort of feedback as to how wide a window the text is going to be rendered in.

For example, you can stretch VS Code across 3 monitors, and it will expand the tooltips just as wide.

This is an ongoing display thing we'd like to try and work out, but it may require LSP changes.

@huguesv
Copy link
Contributor

huguesv commented Jul 9, 2020

Please upvote/comment on this issue on the vscode repo for a more configurable tooltip sizing:
microsoft/vscode#14165

thanks!

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

5 participants