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

Expose editor.suggestSelection to extension for customization #51371

Closed
shengyfu opened this issue Jun 7, 2018 · 3 comments
Closed

Expose editor.suggestSelection to extension for customization #51371

shengyfu opened this issue Jun 7, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions

Comments

@shengyfu
Copy link
Member

shengyfu commented Jun 7, 2018

Currently VSCode doesn't expose editor.suggestSelection to extension for customization. This limits specific code extensions' ability to customize the default selection in the completion item list. If an extension needs to rank the completion list (for instance based on a ML model) the extension wants to set the default selection to point to the top ranked item, unless the user wants to override the behavior.

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Jun 7, 2018
@MikhailArkhipov
Copy link

MikhailArkhipov commented Jun 7, 2018

How's about first, lastUsed and dynamic options. In the latter case the selection is specified by the extension. It may not necessarily be the first item.

@jrieken
Copy link
Member

jrieken commented Jun 8, 2018

/duplicate of #35551

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Jun 8, 2018
@vscodebot
Copy link

vscodebot bot commented Jun 8, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jun 8, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

3 participants