-
Notifications
You must be signed in to change notification settings - Fork 39.6k
Refactor: move to new file does not work #51586
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededVerification succeeded
Issue Type: Bug
I have an
index.jsfile with two classes in ( I can share the github repo if that's useful)I am able to right click on the class name, select
Refactorand then selectMove to new file. However, when I do that, nothing happens. There are no errors in the developer tools, but no code is changed or new files created.It's worth noting that other refactors (highlight some code + extract method) do work just fine.
I am running code with
--disable-extensionsto ensure it's not a problem with a package.VS Code version: Code 1.24.0 (6a6e02c, 2018-06-06T17:30:30.113Z)
OS version: Darwin x64 16.7.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled