Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Go to Definition' instead does 'Peek Definition' on Styled Components #70473

Closed
leotm opened this issue Mar 14, 2019 · 3 comments
Closed

'Go to Definition' instead does 'Peek Definition' on Styled Components #70473

leotm opened this issue Mar 14, 2019 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@leotm
Copy link

leotm commented Mar 14, 2019

  • VSCode Version: February 2019 (version 1.32)
  • OS Version: macOS Mojave 10.14.3 (18D109), also Windows 10 64-bit version 1809

Steps to Reproduce:

  1. Open up at .tsx file
  2. On a Styled Component, hit F12 or right-click then Go to Definition

Result: Peek Definition is opened instead

I first noticed this happening roughly a week ago.

Current workaround: From the Peek Definition window, double-click the constant.

NB: This issue does not occur with React Components.

Does this issue occur when all extensions are disabled?: Yes/No

@leotm
Copy link
Author

leotm commented Mar 14, 2019

Just spotted #70032, checking if related

@roblourens
Copy link
Member

Thanks, this sounds like #70032

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 14, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants