Automatic this completions for JavaScript and TypeScript Just start typing a method or property name inside a JavaScript / TypeScript to see a list suggestions. Accept one and VS Code will automatically prefix it with this.