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

Update Imports On File Move: does not persist file extension #50804

Closed
miguelsolorio opened this issue May 30, 2018 · 1 comment
Closed

Update Imports On File Move: does not persist file extension #50804

miguelsolorio opened this issue May 30, 2018 · 1 comment
Assignees

Comments

@miguelsolorio
Copy link
Contributor

Issue Type: Bug

Testing #50488

Example
ezgif com-gif-maker 9

Resulting error
image

When moving a js file while using the "Update Imports On File Move" setting and the import has the file extension explicitly set, the auto update will strip out the ".js" extension. This causes issues with the js file referencing it as it needs the extension name.

VS Code version: Code - Insiders 1.24.0-insider (bfd155e, 2018-05-29T06:13:09.810Z)
OS version: Darwin x64 17.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 5, 5
Memory (System) 16.00GB (0.78GB free)
Process Argv /Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_5203190
Screen Reader no
VM 20%
@mjbvz
Copy link
Collaborator

mjbvz commented May 30, 2018

This issue was moved to microsoft/TypeScript#24493

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

2 participants