Skip to content

Inline completion not displaying when surrounded by whitespace #184108

@njiang747

Description

@njiang747

Does this issue occur when all extensions are disabled?: N/A (requires extension to provide inline completions)

  • VS Code Version: 1.78.2
  • OS Version: macOS 13.0

Steps to Reproduce:

  1. Trigger inline completion on a line with whitespace to the immediate left and right of the cursor.
  2. Even when the InlineCompletionProvider returns items, they do not display in VSCode.

Example:

Starting with this code:
image

Delete baz, suggests it correctly:
image

Delete az:, suggests it correctly:
image

Delete baz:, does not suggest anything:
image

I confirmed that the InlineCompletionProvider does return baz: as expected but in this case VSCode does not display it.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginline-completionsinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions