Skip to content

Autocomplete of bracket property doesn't work with useState #62723

@vbeffa

Description

@vbeffa

Type: Bug

There are probably other instances where it doesn't work. Note in the first screenshot, the closing quote and bracket are present, but not the closing >. I have to navigate and insert that before I get an actual list of properties (second screenshot). However, in the third screenshot, I have a property where I haven't even closed the quote and bracket, and I still get the correct list of properties in the popup. I would expect this to always show whenever [' is present after a type.

VS Code version: Code 1.105.1 (Universal) (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
OS version: Darwin x64 21.6.0
Modes:

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Not a DefectThis behavior is one of several equally-correct options

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions