π Search Terms
any marker editor
β
Viability Checklist
β Suggestion
Types that are explicitly set to any are sometimes hard to distinguish from actually typed variables in the editor. You might be adopting types while still having a lot of any around and then it would be helpful to call any out more explicitly in the editor.
π Motivating Example
I am now using the extension https://marketplace.visualstudio.com/items?itemName=danvk.any-xray which does this:

π» Use Cases
- What do you want to use this for?
Seeing explicit any types easily so that I can work on adding types.
- What shortcomings exist with current approaches?
I can disable explicit any by producing errors but that is very aggressive.
- What workarounds are you using in the meantime?
Hovering over the type.
π Search Terms
any marker editor
β Viability Checklist
β Suggestion
Types that are explicitly set to
anyare sometimes hard to distinguish from actually typed variables in the editor. You might be adopting types while still having a lot ofanyaround and then it would be helpful to callanyout more explicitly in the editor.π Motivating Example
I am now using the extension https://marketplace.visualstudio.com/items?itemName=danvk.any-xray which does this:
π» Use Cases
Seeing explicit
anytypes easily so that I can work on adding types.I can disable explicit any by producing errors but that is very aggressive.
Hovering over the type.