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

surround doesnt work correctly for strings #9324

Open
hxsggsz opened this issue Oct 24, 2024 · 0 comments
Open

surround doesnt work correctly for strings #9324

hxsggsz opened this issue Oct 24, 2024 · 0 comments

Comments

@hxsggsz
Copy link

hxsggsz commented Oct 24, 2024

Describe the bug
I can surround my string from double quotes(") to single quote(') or template strings correctly(`) but if I want to surround a string from everything that it's not a double quotes it simply doesnt work

To Reproduce
Steps to reproduce the behavior:

  1. create a string with single quote
  2. try to use the surround command to change it to double quote

Expected behavior
to change the string from single quote to double quote

Screenshots

Screencast.from.2024-10-24.16-42-27.webm

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.28.1
  • VSCode version: 1.94.2
  • OS: Ubuntu 24.04

Additional context

  • When the surround command fails, it says in the bottom "The key combination (...) is not a valid command
  • It doesnt work when I try to change an array ([]) to any other thing like a object ({}) or a parentesis ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant