[SR-6051] Refactoring to expand missing switch cases from switch
keyword
#48608
Labels
feature
A feature request or implementation
refactoring
Area → source tooling: refactoring
source tooling
Area: IDE support, SourceKit, and other source tooling
switch exhaustivity
Feature: enforcement of exhaustivity in 'switch' statements
switch
Feature → statements: 'switch' statements
Additional Detail from JIRA
md5: de49c821e689297adad71d3fdb4c2131
Issue Description:
When enum is defined like:
and code that uses it:
we could provide cursor refactoring, which whenever the cursor is anywhere on
switch
keyword lets a user to expand missing switch cases to the form:This works just like current
Expand default
but is more convenient to use when user doesn't havedefault
case written yet.The text was updated successfully, but these errors were encountered: