Skip to content

feature-request: possibility to change the size of description popup #29126

Closed

Description

@feelancer21

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.

Regards steff

Activity

  1. mike-lischke commented on Jun 21, 2017

    @mike-lischke

    I'd like to add that wrapping in the popup is also a problem and should be avoided (overflow should be horizontally scrollable).

  2. added
    suggestIntelliSense, Auto Complete
    under-discussionIssue is under discussion for relevance, priority, approach
    uxUser experience issues
    on Jun 21, 2017
  3. ramya-rao-a commented on Jun 27, 2017

    @ramya-rao-a
    Contributor

    cc @Microsoft/vscode for thoughts

  4. stevencl commented on Aug 10, 2017

    @stevencl
    Member

    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.

  5. ramya-rao-a commented on Aug 10, 2017

    @ramya-rao-a
    Contributor

    The scrollbar solution is worth pursuing

  6. nsreenath commented on Oct 31, 2017

    @nsreenath

    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.

  7. Raydir commented on Dec 19, 2017

    @Raydir

    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.

  8. lonix1 commented on Jul 19, 2018

    @lonix1

    Like I said in my other issue:

    Please add one or more of the following:

    • Add a setting for "wider IntelliSense popups"
    • Don't wrap
    • 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.

  9. 52 remaining items

  10. miguelsolorio commented on Oct 22, 2020

    @miguelsolorio
    Contributor

    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:

    Kapture 2020-10-22 at 09 13 20

    Also, it appears that the description height doesn't persist even though all others do?

  11. jerclarke commented on Oct 22, 2020

    @jerclarke

    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?

  12. MartinGC94 commented on Oct 22, 2020

    @MartinGC94

    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:
    image

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

  13. jrieken commented on Oct 23, 2020

    @jrieken
    Contributor

    Any chance this update could also give us an option to control the size of the text in these boxes separate from everything else?

    There are these settings: editor.suggestFontSize and editor.suggestLineHeight

  14. jrieken commented on Oct 23, 2020

    @jrieken
    Contributor
  15. rwcorbett commented on Oct 23, 2020

    @rwcorbett
  16. jrieken commented on Oct 26, 2020

    @jrieken
    Contributor

    This is done. Will ship with next stable and is already available in insiders. Please file bugs for further work and polish

  17. mikecann commented on Oct 26, 2020

    @mikecann

    wooo! been following this for 3 years, excellent news ;)

  18. mbreslav commented on Oct 31, 2020

    @mbreslav

    Will the ability to resize the window also apply to the tooltip/hover window that is used by Hover providers?

  19. GustavoASC commented on Nov 8, 2020

    @GustavoASC
    Contributor

    This feature is incredible and works perfectly. Thank you very much Johannes Rieken (@jrieken) for developing this 😍

  20. locked and limited conversation to collaborators on Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityon-testplansuggestIntelliSense, Auto CompleteuxUser experience issues

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions