Python type hints with Pylance/pyright are surprisingly good. Not Typescript good, but still pretty decent.
> Also, why grep in the age of lsp?
I'd rather not! But Gitlab doesn't use static type hints so I have no choice.
Does lsp work well for Ruby? Back when I was writing Ruby (about a decade ago), static analysis tools typically had an even harder time finding things than grep.
It works fairly well if you use Sorbet, which has only been around for a few years.