Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

wrong cursor position #366

Closed
zhangzhinan opened this issue Mar 19, 2022 · 5 comments
Closed

wrong cursor position #366

zhangzhinan opened this issue Mar 19, 2022 · 5 comments
Labels

Comments

@zhangzhinan
Copy link

Describe the bug (including copyable syntax)
When I select the style according to the prompt, the cursor position is wrong

Screenshot

vscode-styled-components.mov

Build environment (please complete the following information):

  • OS:

mac

- VSCode Version:

vscode

  • Extension Version

WX20220319-141326@2x

@jasonwilliams
Copy link
Collaborator

@zhangzhinan did you try the suggestions in #360

@zhangzhinan
Copy link
Author

@zhangzhinan did you try the suggestions in #360

I downgraded VS Code to 1.64.2 and now the cursor it's working correctly.

@karlhorky
Copy link

The problem for us was having 2 versions of the extension installed (the current one, published by Styled Components, and the old one, published by Julien Poissonnier (jpoissonnier))

The solution was to remove remove the old VS Code extension from Julien Poissonnier (jpoissonnier) and reload VS Code.

@zhangzhinan
Copy link
Author

The problem for us was having 2 versions of the extension installed (the current one, published by Styled Components, and the old one, published by Julien Poissonnier (jpoissonnier))

The solution was to remove remove the old VS Code extension from Julien Poissonnier (jpoissonnier) and reload VS Code.

Perfect! it really works, thank you very much

@sudipta9
Copy link

sudipta9 commented Apr 3, 2022

The problem for us was having 2 versions of the extension installed (the current one, published by Styled Components, and the old one, published by Julien Poissonnier (jpoissonnier))

The solution was to remove the old VS Code extension from Julien Poissonnier (jpoissonnier) and reload VS Code.

Perfectly worked for me, thanks @karlhorky

@styled-components styled-components locked as resolved and limited conversation to collaborators Apr 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants