3 ms·
Is there a term for this type of refactor? Often I might end up with 2 exported classes in one file, both being used across other files. I then want to separate
by breck 6y ago
Is there a term for this type of refactor? Often I might end up with 2 exported classes in one file, both being used across other files. I then want to separate them into 2 files and update the imports. I feel like my IDE should be able to do this, I just can’t seem to google the right term.
- breck 6y agoAh, in VS Code it is just: 1. Click class name (or any other top level identifier). 2. Click light bulb. 3. Click move to a new fie.