Search code examples
typescriptvisual-studio-codewebstorm

WebStorm-like TypeScript method overrides in VS Code


When overriding TypeScript methods in WebStorm, IDE completes method with access modifier (public, protected or private), return value type, parameters and parameter types: enter image description here enter image description here

VS Code only completes parameters: enter image description here enter image description here

Is there a way to make VS Code complete method overrides like WebStorm does?


Solution

  • This is not presently supported in VS Code.

    There was a feature request for this: https://github.com/microsoft/vscode/issues/58193, but it was closed in favor of adding general snippet completion (https://github.com/microsoft/TypeScript/issues/25207) which is still in progress.