Refactor > Move to a file #107957
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
editor-code-actions
Editor inplace actions (Ctrl + .)
javascript
JavaScript support issues
typescript
Typescript support issues
I have a TypeScript codebase. Often, I define a function
f
in a specific fileX
but later I want this function to move to an already existing fileY
.What I do is: locate all calls to
f
. Movef
toY
, replace all calls tof
when it was inX
by calls tof
inY
. This is time-consuming and I would think it can be automated with a refactor.The text was updated successfully, but these errors were encountered: