How to copy and paste do replace file in Atom?


#1

I need copy and paste to replace file in Atom but it alway keep both with extra name is “0”.

Example: i copy file xxx.jar and paste to another folder with have same name with this file and Atom keep both with name is xxx0.jar

So, how to can i replace file? Thanks you!


#2

You might need to delete the file in the target folder first. Atom does not have any copy settings as far as I know. Another option is to have a package that uses Node’s fs module to copy files and replace files in the target folder if they have the same name.