Move(refactor) export statement to another file.
Hello.
Im trying to refactor my export statements and I want to change theirs locations but WebStorm doesnt give me move action to do it.
Is there refactor actions to do it?
Please sign in to leave a comment.
Did you try Refactor > Move...? It allows moving modules between files, see https://www.jetbrains.com/help/webstorm/2021.2/specific-javascript-refactorings.html#javascript_move_refactorings
yes. I tried. When I open context menu I see only "move file" action, but no move export statement.
Indeed, refactoring only allows moving modules, moving export statements is not supported