figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

Suggestion dropdown doesn't appear for documentation tokens while changing to another token on the "Inspect" tab

Open shvedetsky opened this issue 2 years ago • 5 comments

While trying to remap documentation tokens on the Inspect tab the dropdown with suggestions doesn't appear after I typed "{someTokeName..." https://postimg.cc/QBC7mRWs

shvedetsky avatar Aug 05 '22 20:08 shvedetsky

Can you tell me more about how you reached that state? For me this works:

Image

six7 avatar Aug 09 '22 21:08 six7

@six7 I reached this state just as I described. Inspect tab —> trying to remap documentation token —> don't see/get suggestion dropdown after I type symbol "{"

shvedetsky avatar Aug 09 '22 23:08 shvedetsky

Are by chance none of your token sets marked as active?

six7 avatar Aug 10 '22 06:08 six7

@six7 nope, all three that I use are active always

shvedetsky avatar Aug 12 '22 06:08 shvedetsky

@six7 here is video https://youtu.be/dcngtWjv-0E

shvedetsky avatar Aug 12 '22 07:08 shvedetsky

Thank you for that video, that explains it! I'm guessing our logic that decides what tokens to show in the dropdown doesn't include tokenName or other related tokens yet.

Instead we should show all tokens when using that dropdown, same is probably true for all other Documentation tokens.

six7 avatar Aug 14 '22 07:08 six7