First time here? Check out the FAQ!
0

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

  • retag add tags

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

hongyi-zhao's avatar
537
hongyi-zhao
asked 2020-04-15 02:50:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-04-15 10:05:32 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for this feature.

hongyi-zhao's avatar hongyi-zhao (2020-04-15 10:17:21 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer