Skip to content

Intellisense should offer "constructor" property (Javascript) #61863

Closed as not planned
@jasonpolites

Description

@jasonpolites

Type: Feature Request

The intellisense (autocomplete) when used in the context of an ES6 class does not offer the constructor property when referenced from the this reference:

Image

Conversely, this property is available after a simple object has been created:

Image

VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

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