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
{{ message }}
Repository navigation
feature-request: possibility to change the size of description popup #29126
Hello, I am creating a snippet for VS Code with long descriptions. I have noticed that the description popup window in VS Code has a scrollbar, but it would be greater if I can enlarge the window. This seems not to be possible in the current version (1.13.1). It would be better if one can either set the height and width in the preferences or change the size of the popup with mouse dynamically.
I'd like to add that wrapping in the popup is also a problem and should be avoided (overflow should be horizontally scrollable).
Reacted by feelancer21, yulihgit, antonovicha, Arash Sahebolamri, Nicolas Ramz, Yifei Teng, lonix1, Kamil Sienkiewicz, Chris Spence, Eval Exec and 14 more
It seems like the problem is that to read long descriptions, you need to scroll. One way to solve that problem without requiring intervention from the user would be to resize the popup dynamically based on the content it needs to display. If we were able to do this, we could make long descriptions more readable without requiring the user to either scroll through the description or to drag out the size of the window to make the content more readable. We currently set the height dynamically, perhaps we could also look at dynamically altering the width to accommodate larger content?
While there would probably still be cases where there simply isn't enough room to show all of the content this would be the preferable solution for me since it allows most users to keep their hand on the keyboard and means that we don't need to worry about what to do with the popup after the user has resized it, then dismissed it (do we keep it at that size, even if it is way too big for the next piece of content, what happens then when the user returns to the same content that caused them to resize etc etc).
I also agree that wrapping inside the popup doesn't seem like the right thing to do since it alters the readability of the content. So if resizing the width of the popup still means content is outside of the viewport, we should add a scroll bar as Mike Lischke (@mike-lischke) suggests.
Large descriptions that usually come as part of a well documented sample code will be easy to read if we put a button to open the entire description in new tab.
Reacted by lonix1, ESLHemantSangle, Markus Stöger, Pituganov Stanislav, Sebastian, Krupesh Anadkat and Prince Odame
I'd love to get a possibility to "resize" this window. Prefered solution would be a setting alike "editor.SuggetionsHeigth" and "editor.SuggetionsWidth" which could be set in pixels.
Reacted by Denis Zhbankov, Yuyao Huang, David Höld, Geert Fokke, Шамесмухаметов Святослав, indiefun, yulihgit, WANDEX, T D Kiran , kullanici0606 and 29 more
Or the best option: allow me to resize the popup horizontally, and automatically remember the width
And while we're at it:
the up/down arrows for choosing function overloads are too small
This should be for autocompletion, intellisense and debugging popups (I'm unsure if those are the correct names for vscode). They are all too narrow, and they all wrap. It should be like in regular Visual Studio - we shouldn't have to debate it, just copy what already works.
Reacted by yulihgit, Arash Sahebolamri, arsen-ch, Saif Ahmed, Bar, memeplex, lonix1, Michael West, Radu Crisan, Muhammad Ali and 10 more
This is done. Will ship with next stable and is already available in insiders. Please file bugs for further work and polish
Reacted by Ben Mewburn, Takashi Tamura, Mike Cann, Tuur Lievens, Alex, Dmitry Vornychev, David Ferguson, Krisztián Ádám, Simon Chan, Vladimir Chirikov and 9 more
Reacted by Dmitry Vornychev, Simon Allen, Soheil Alizadeh, Andreas Rytina, Ulugbek Abdullaev, Casper Iversen and cutscenedev
Activity
mike-lischke commentedon Jun 21, 2017
I'd like to add that wrapping in the popup is also a problem and should be avoided (overflow should be horizontally scrollable).
ramya-rao-a commentedon Jun 27, 2017
cc @Microsoft/vscode for thoughts
stevencl commentedon Aug 10, 2017
It seems like the problem is that to read long descriptions, you need to scroll. One way to solve that problem without requiring intervention from the user would be to resize the popup dynamically based on the content it needs to display. If we were able to do this, we could make long descriptions more readable without requiring the user to either scroll through the description or to drag out the size of the window to make the content more readable. We currently set the height dynamically, perhaps we could also look at dynamically altering the width to accommodate larger content?
While there would probably still be cases where there simply isn't enough room to show all of the content this would be the preferable solution for me since it allows most users to keep their hand on the keyboard and means that we don't need to worry about what to do with the popup after the user has resized it, then dismissed it (do we keep it at that size, even if it is way too big for the next piece of content, what happens then when the user returns to the same content that caused them to resize etc etc).
I also agree that wrapping inside the popup doesn't seem like the right thing to do since it alters the readability of the content. So if resizing the width of the popup still means content is outside of the viewport, we should add a scroll bar as Mike Lischke (@mike-lischke) suggests.
ramya-rao-a commentedon Aug 10, 2017
The scrollbar solution is worth pursuing
nsreenath commentedon Oct 31, 2017
Large descriptions that usually come as part of a well documented sample code will be easy to read if we put a button to open the entire description in new tab.
Raydir commentedon Dec 19, 2017
I'd love to get a possibility to "resize" this window. Prefered solution would be a setting alike "editor.SuggetionsHeigth" and "editor.SuggetionsWidth" which could be set in pixels.
lonix1 commentedon Jul 19, 2018
Like I said in my other issue:
Please add one or more of the following:
And while we're at it:
This should be for autocompletion, intellisense and debugging popups (I'm unsure if those are the correct names for vscode). They are all too narrow, and they all wrap. It should be like in regular Visual Studio - we shouldn't have to debate it, just copy what already works.
52 remaining items
miguelsolorio commentedon Oct 22, 2020
Johannes Rieken (@jrieken) these updates are 🔥 . Should there be a min-height on the description that caps where the text ends? This feels a bit odd:
Also, it appears that the description height doesn't persist even though all others do?
jerclarke commentedon Oct 22, 2020
It's possible for the text to be extremely tall, so a min-height couldn't be based on that.
Any chance this update could also give us an option to control the size of the text in these boxes separate from everything else?
MartinGC94 commentedon Oct 22, 2020
Maybe it's an extension issue, but I don't see linebreaks for the different method overloads in Powershell. Here's how it looks in stable VS code:

And here's how it looks in the latest insider version:

log/telemetry for completion durations, #29126
jrieken commentedon Oct 23, 2020
There are these settings:
editor.suggestFontSizeandeditor.suggestLineHeightjrieken commentedon Oct 23, 2020
MartinGC94 re #29126 (comment) 👉 #99370
rwcorbett commentedon Oct 23, 2020
jrieken commentedon Oct 26, 2020
This is done. Will ship with next stable and is already available in insiders. Please file bugs for further work and polish
mikecann commentedon Oct 26, 2020
wooo! been following this for 3 years, excellent news ;)
mbreslav commentedon Oct 31, 2020
Will the ability to resize the window also apply to the tooltip/hover window that is used by Hover providers?
GustavoASC commentedon Nov 8, 2020
This feature is incredible and works perfectly. Thank you very much Johannes Rieken (@jrieken) for developing this 😍