Completion for superclasses #7841
Labels
enhancement
New feature or surprising current feature
IDE
Relating to Sorbet's LSP server or VS Code extension
Milestone
Input
→ View on sorbet.run
Observed output
Expected behavior
It would be nice to show completion results for constant literals in superclass positions.
It's quite possible that this would not be immediately useful, because every keystroke would trigger a slow path edit, which would be prohibitively expensive on large codebases, but it would be passable on small codebases and would be a step in the right direction for large codebases.
Note that we already recover from the typical parse error that users would see here, so there's likely no parser changes holding us back from making practical improvements here.
The text was updated successfully, but these errors were encountered: