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

Changing case with regex #7910

Open
gmenih opened this issue Aug 17, 2022 · 1 comment
Open

Changing case with regex #7910

gmenih opened this issue Aug 17, 2022 · 1 comment

Comments

@gmenih
Copy link

gmenih commented Aug 17, 2022

Is your feature request related to a problem? Please describe.
In Vim, you can change character case when replacing a pattern with regex. VSCodeVim doesn't support that. Namely, I'm talking about the \U and \L operators.

E.g.: In Vim you can use the following command to change a snake case string into camel case:
s:/_(.)/\u\1/g.

Describe the solution you'd like
Support the changing case operators. More details here: https://vim.fandom.com/wiki/Changing_case_with_regular_expressions

Describe alternatives you've considered
I usually open a file in Vim to do these replacements.

@brifinn
Copy link

brifinn commented Jul 7, 2023

Bumping. I discovered today that this isn't yet implemented, and it would be a lovely enhancement. Mentioning #3996 just to add this to the wrap-up of regex improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants