Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Complete switch with notReachableNew to Visual Studio Code? Get it now.

Complete switch with notReachable

ivandashk

|
13 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

A vscode extension to generate switch case for enum type.

How to use

Ensure the case block of switch statement is empty. Place the cursor on switch then the 'Show fix' icon will display.

Some learning resources for writing typescript language service plugin

  • https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin
  • https://github.com/microsoft/TypeScript/tree/master/src/services/refactors
  • https://ts-morph.com/
  • https://github.com/cancerberoSgx/typescript-plugins-of-mine
  • https://ts-ast-viewer.com/
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft