rescript-lang / rescript-vscode

Official VSCode plugin for ReScript
MIT License
327 stars 55 forks source link

Code action: Expand catch all variant #987

Closed zth closed 3 months ago

zth commented 3 months ago

code-action-expand-catch-all

Code action for expanding catch-all patterns. Useful when you want to go from a catch all to get exhaustive matching when you add new variant members, for example.

Works on:

Those are the ones I thought made sense to support without this snowballing in complexity.