Rename Symbol does not update Ruby symbol literal visibility modifiers #7842
Labels
enhancement
New feature or surprising current feature
IDE
Relating to Sorbet's LSP server or VS Code extension
Input
→ View on sorbet.run
Observed output
If you use Rename Symbol on
foo
in thedef example
or thedef foo
, you'll be able to renamefoo
tobar
. But the rename will only rename the method def and the call site. It won't rename theprivate :foo
toprivate :bar
.Expected behavior
It would be nice if Rename Symbol was aware that visibility modifiers will need to be updated too.
The text was updated successfully, but these errors were encountered: