Skip to main content

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


Chase89

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
  • 2512 replies
  • January 24, 2024

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
  • 4 replies
  • February 23, 2024

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
  • 2 replies
  • July 4, 2024

+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
  • 15 replies
  • July 10, 2024

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


Roman67
  • New Participant
  • 12 replies
  • November 8, 2024

Related: How can I find 'Used' Variables

Decent workaround is Variable Vision plugin.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings