Skip to main content
Chase89
Jan 23, 2024 9:18 PM UTC

Identify if a Local Variable is being used and where it's being used more easily

When you click on a component set, the UI will show you which properties are being used and which ones are not. When one isn’t being used it shows an exclamation point. This allows the user to clean up the properties without guesswork.

I would love to see something like this for Local Variables.
Screenshot 2024-01-23 at 4.09.48 PM

As a bonus, I would love to be able to see all of the places a local variable is being used. That way instead of opening each layer, and hunting for a tag, I could maybe see a list of where it’s applied. Like when you use the search function. 😉

5 replies

y_toku
Figmate
Community Support
Jan 24, 2024 11:28 PM UTC

Hi there,

Thank you for sharing your idea! We greatly value your feedback, and we would like to gauge the reaction of other members in the community. We may consider it for future enhancements!

Toku

dklaus
New Member
Feb 23, 2024 12:37 AM UTC

I’m refactoring local variables and it would be a big help to have a simple feature like this. A “where used” feature would be even better, but this would be a great start.

niki.va
New Member
Jul 4, 2024 6:05 PM UTC

+1 for the “where used” feature. I work on a ginormous design system with multiple brands and have to create and manage the documentation for this manually. If such a feature existed, it would save so much time!

Andy33
New Participant
Jul 10, 2024 9:26 AM UTC

re-organizing local variables and its a mess to find what is not in use anymore

Roman67
New Participant
Nov 8, 2024 12:57 PM UTC

Related: How can I find 'Used' Variables

Decent workaround is Variable Vision plugin.