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

Replacing words bug #71986

Closed
35e opened this issue Apr 9, 2019 · 8 comments
Closed

Replacing words bug #71986

35e opened this issue Apr 9, 2019 · 8 comments
Assignees

Comments

@35e
Copy link

35e commented Apr 9, 2019

Issue Type: Bug

In my Symphony modules I wanted to change the word "Application\Modules\Projects" to "Application\Modules\Timeline"

After I did that on the folder I chose there was a bug. In some files Visual Studio Code is putting "Application\Modules\TimelineApplication\Modules\TimelineApplication\Modules\Timeline" many times after eachother or it isn't replace the word but it's just placing the word at the start of the file . I don't know why it is doing that.
Image of the bug

I tried the same thing with Sublime Text and it's working perfectly. Hope you guys will fix this soon.

VS Code version: Code 1.33.0 (0dd516d, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3192)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.90GB (3.74GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
sftp lix 1.12.2
twig-language-2 mbl 0.7.4
LiveServer rit 5.5.1
vscode-icons vsc 8.5.0
@aeschli
Copy link
Contributor

aeschli commented Apr 9, 2019

@BarryLC I assume you used Replace from the File Search viewlet?

@35e
Copy link
Author

35e commented Apr 9, 2019

@aeschli Yup I did

@vscodebot vscodebot bot removed the new release label Apr 9, 2019
@roblourens
Copy link
Member

Is it possible that your files only have CR line endings (not CRLF or LF)?

@35e
Copy link
Author

35e commented Apr 12, 2019

@roblourens I have CRLF line endings in the file the issue occurs.

@roblourens
Copy link
Member

roblourens commented Apr 12, 2019

Is it possible for you to share the file where this occurs? You can email it to me if you don't want to share it publicly. If there is a single CR character in the file not next to an LF then that can cause this issue.

@35e
Copy link
Author

35e commented Apr 12, 2019

@roblourens I'll send the file on Monday, can't access the file right now.

@35e
Copy link
Author

35e commented Apr 15, 2019

@roblourens I've send you an email with the file.

@roblourens
Copy link
Member

Sorry for the slow response. This file does indeed just have CR characters. So this is a duplicate of #48063

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants