Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: TypeScript: this.constructor inside instance method (not static) inside class doesnt work in autocomplete #61356

Open
psnet opened this issue Mar 4, 2025 · 0 comments

Comments

@psnet
Copy link

psnet commented Mar 4, 2025

Does this issue occur when all extensions are disabled?: Yes

Version: 1.97.2 (user setup)
Commit: e54c774e0add60467559eb0d1e229c6452cf8447

Steps to Reproduce:

  1. Lets use code
class Test {
    constructor() {
        // empty
    }

    test() {
        console.log(/* here will use autocomplete */);
    }
}
  1. Bug: Inside test method inside console.log instead of /* here will use autocomplete */ try to put this.constructor, but after typing this. there will be no constructor property in autocomplete dropdown
@mjbvz mjbvz transferred this issue from microsoft/vscode Mar 5, 2025
@mjbvz mjbvz removed their assignment Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants