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

Autocompletion needs an horizontal scrollbar #249

Closed
NaccOll opened this issue Jun 27, 2017 · 7 comments
Closed

Autocompletion needs an horizontal scrollbar #249

NaccOll opened this issue Jun 27, 2017 · 7 comments

Comments

@NaccOll
Copy link

NaccOll commented Jun 27, 2017

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.

@fbricon
Copy link
Collaborator

fbricon commented Jun 28, 2017

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

@ramya-rao-a
Copy link

@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.

@Yanpas
Copy link

Yanpas commented May 14, 2019

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

@testforstephen
Copy link
Collaborator

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

@testforstephen
Copy link
Collaborator

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

@Eskibear
Copy link
Contributor

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

@fbricon
Copy link
Collaborator

fbricon commented Oct 27, 2020

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/

@fbricon fbricon closed this as completed Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants