-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
On transforming the text case everything is mugged up in single line. #229469
Comments
vscode/src/vs/editor/contrib/linesOperations/test/browser/linesOperations.test.ts Lines 833 to 874 in e0921de
Through test cases, it was found that the previous design seemed to be targeted at specific areas. |
Looks like there is an inconsistency between pascal case and camel case, which leave all selected text on one line; and title case, kebab case, and snake case, which preserve multiple lines. I assume they should all preserve multiple lines. @hediet May I work on this issue as a first contribution? It isn't labelled as one, but it seems relatively simple. |
I don't think its intended to work the way @AyushBadola22 is trying to use. |
Type: Bug
I have this code in camel case.
When I do
ctrl + shift + P
and typetransform
, I get suggestions to convert it tosnake case
.On transforming it works perfectly.
BUT BUT BUT
On transforming back to the pascal case , everything is mugged up in the same line , also keywords should be ignored but it changes it also.
Please look into it . Thanks
VS Code version: Code 1.93.1 (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (41)
(4 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: