Skip to content

Intellisense issues with commit on space and other punctuation #1629

Closed
@danquirk

Description

@danquirk

VS now commits completion lists on more than tab and enter, including space and a variety of punctuation characters (semicolon, parens, brackets, etc). There are places where we offer completion lists that we shouldn't, or poor completion lists, which were previously visual distractions but now are significant annoyances in the actual typing experience, requiring constantly dismissing completion lists via Esc to type what you intended.

Fat arrow functions
writealambda
Typing a space after the fat arrow argument commits a suggestion that is never correct, and then happens frequently in the body as well.

Type argument declarations
typeargumentcompletion
Tracked here #1428

Destrucuring Assignments
destructuringcompletions
Not supported in the editor yet but will need to work like var declaration completion lists.

There are likely other cases as well but these ones stand out immediately. This also ties into #315 which is asking for a toggle on this behavior. Depending on the fix we use for this behavior we may also have some significant test costs associated with these fixes.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions