would love this for typescript
Couldnt we re-use data from the compiler to help with that ?
Any way to follow what you up to?
I love this plugin btw.
To make it easier to scan through long files, I wished for an extension that could make the traits appear a few shades darker. This might be even better. Going to give it a try tonight.
For instance, if I highlight a parameter or variable foo, can I see not only all usages of foo itself, but usages of any variable that was derived from foo?
While borrow usage makes this foolproof, this type of visualization would be tremendously useful for even other types of code.
(As for Flowistry, I can see this being vital for anyone trying to maintain e.g. https://github.com/servo/servo/blob/main/components/layout/f... - perhaps the most daunting single file in a modern codebase I've ever seen! And yes, that's a 400-line function.)
habitue•4h ago