Tip #62 | “Where-Used” in Visual Studio Code

The “Where-Used” in Visual Studio Code is nice, but not always productive. Today I wanted to see where a field was used and came up with an alternative I wanted to share.

ObsoleteState

If you mark a field ObsoleteState::Pending the compile will throw warnings everywhere the field is used. This allows you to quickly use the error window to jump through the code and check whatever you want to check.

When finished you set the obsolete state back.

One response to “Tip #62 | “Where-Used” in Visual Studio Code”

Leave a reply to Tip #62 | “Where-Used” in Visual Studio Code – 365 Community Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.