Skip to content

Autocompletion needs an horizontal scrollbar #249

Closed

Description

@NaccOll

Recently, I try to write java by VSCode. The extension is helpful for me to modify When the code needs minor repairs. I thank you for the great job you’re doing with this extension.
But, I have a terrible experience when I try to import module. As follows:
https://gyazo.com/9f0b536a9f71d72a4939ffbb4834340d
The picture show the issue when the name of module is too long to show completely, and there is not horizontal scroll bar. So, I can't correctly import module that I want.

I hope a new way to solve the problem, such as, adding horizontal scroll bar or complete the sub-module of module only.

Activity

  1. fbricon commented on Jun 28, 2017

    @fbricon
    Collaborator

    We can't add an horizontal scrollbar, it has to come from vscode proper.

    In the mean time, if you already know the type you want to import you can do:

    import MyType<+enter>

    It'll add the fully qualified class name

  2. changed the title [-]I hope a new way to autocomplete in import.[/-] [+]Autocompletion needs an horizontal scrollbar[/+] on Jul 10, 2017
  3. ramya-rao-a commented on Sep 14, 2018

    @ramya-rao-a

    @fbricon In the above case, can the completion provider be updated to not show import.org. in each of the results when the user has already typed import.org. ?

    I believe . is a trigger character which means the completion provider will be triggered when the user types .. At this point, the completion provider should only return the remaining part of the import.

  4. Yanpas commented on May 14, 2019

    @Yanpas

    I suggest following way to fix it:
    there is a "More" switcher in completion list
    image
    We can always show full class name in "More" section, currently it's empty.

    with "More" on:
    image
    with "More" off:
    image

    This requires fixes on the server side

  5. testforstephen commented on Oct 10, 2019

    @testforstephen
    Collaborator

    @Yanpas i didn't see the "More" switcher in my environment, how did you enable it in completion list?

  6. testforstephen commented on Oct 10, 2019

    @testforstephen
    Collaborator

    i see, clicking it will expand the java doc at the right side.

  7. Eskibear commented on Oct 27, 2020

    @Eskibear
    Contributor

    VS Code Insiders now supports to resize completion widget.
    See microsoft/vscode#29126 (comment)

  8. fbricon commented on Oct 27, 2020

    @fbricon
    Collaborator

    Closing since vscode upstream fixed it, will be available in the October release (prolly around the 1st week of November)
    readable-completions

    For the impatients, you can download vscode-insiders from https://code.visualstudio.com/insiders/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions