Conditionally provide hints/definitions on typed files. #2294
Labels
enhancement
New feature or request
pinned
This issue or pull request is pinned and won't be marked as stale
I have checked that this feature is not already implemented
Use case
Our ruby codebase uses sorbet types in some of it'sfiles (lots of
typed: false
still hanging around). So devs like to have both ruby-lsp and the sorbet lsp running, one for the typed files and one for untyped files.This works well for the untyped files as sorbet tends not display signature helpers/definitions etc. But once we are in the realm of
typed: true
, both ruby-lsp and sorbet will try do similar things. So sometimes both of the LSP's will provide similar information/details.Description
I think that it would be great if the ruby lsp were to integrate a little tighter with the sorbet LSP. We could give users control of which typed files are worth displaying hints on. I'm thinking a setting that allows users to toggle whether we want ruby-lsp to be suggesting on
typed: {true|strict}
files.Implementation
No response
The text was updated successfully, but these errors were encountered: