VSCodeVim / VSCodeVim/Vim

`cs` command is not working

Open
#6,815 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug status/needs-more-info
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
From version 1.21.0 cs command stopped to work

To Reproduce
Steps to reproduce the behavior:
Instal 1.21.0 version or higher
Go to line or words covered by any of this symbol '"[{(
For example try to change single quotes to double quotes
cs'" in this line
import React from 'react'

Expected behavior
cs'" should change
import React from 'react'
to
import React from "react"
like it was in 1.20.3 versions and below

Screenshots
Was in 1.20.3 and below
https://www.screencast.com/t/WNPS3Gut
now
https://www.screencast.com/t/zwwV7jHS5

Version: 1.57.1 (user setup)
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041
vscodevim: 1.21.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the cs behavior in VSCodeVim 1.21.3 using the quoted JavaScript example, then compare it with version 1.20.3. Trace the command handling from the cs input and verify that the completed change matches the expected quote conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.