Skip to content

suggestWidgetMultipleSuggestions does not seem to be updated correctly #16553

@xconverge

Description

@xconverge
  • VSCode Version: 1.7.2 or insiders as of today
  • OS Version: win10 x64

There seems to be an issue with suggestWidgetMultipleSuggestions.

I am trying to use the following:

{
"key": "down",
"command": "extension.vim_down",
"when": "editorTextFocus && !suggestWidgetMultipleSuggestions"
}

The key is registered correctly up until a suggestion is shown, then it is not correct until vscode is restarted. I tried it without only suggestWidgetMultipleSuggestions and the issue still occurred so I believe that suggestWidgetMultipleSuggestions is the problem.

If I had to make a guess, I would guess that it needs the value to be changed back to 0 in hide() here

https://github.com/Microsoft/vscode/blob/6b0195da05089170f904f16131cc60b2d462f90d/src/vs/editor/contrib/suggest/browser/suggestWidget.ts#L691

This is causing an issue in Vim where we are using it VSCodeVim/Vim#1054

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsuggestIntelliSense, Auto CompleteverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions