Ask Your Question
0

Let wing automatically detect and set the filenames' number for the newly created file when saving them without overwrite the already exist ones.

asked 2020-04-15 02:50:23 -0500

hongyi-zhao's avatar

Hi,

Currently, the newly created files by wing will be named as untitled-x.py, but when I save it, if there is already the file with the same name existed there, it will suggest user to change the new file's name or overwrite the originally existed one. But I think why not let wing automatically detect and set the filenames' number for the newly created file when saving them without overwrite the already exist ones.

Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-15 10:05:32 -0500

I'm not sure it's a good idea to save files named "untitled-#.py' to disk. You might want to instead use Open from Keyboard in the File menu, or its keyboard equivalent (the command is open-from-keyboard in case you want to create your own binding).

This shows an keyboard-driven file selector area at the bottom of the window. Then you can type a more descriptive name for the new file, and this will create a new blank buffer bound to the selected name if no file already exists on disk. It doesn't get created on disk until the first time you save.

edit flag offensive delete link more

Comments

Thanks for this feature.

hongyi-zhao's avatar hongyi-zhao  ( 2020-04-15 10:17:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-04-15 02:50:23 -0500

Seen: 302 times

Last updated: Apr 15 '20