Skip to content

Pressing dot breaks jsx #52288

@Zombobot1

Description

@Zombobot1

Some time ago I noticed that something inserts invalid jsx (in a .tsx file) and I found a bug.
If I press dot while the suggestion menu is open invalid jsx ={} gets inserted.

image

image

Outside jsx there is no such problem

Extension version v5.0.202301100
Tested on Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions