processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
338 stars 91 forks source link

save as #182

Open shiffman opened 9 years ago

shiffman commented 9 years ago

When I click "save as" on an existing project, its my expectation that the name field would be populated with the current name or perhaps "current_name_copy" or something of that sort. I am often confused not seeing the existing name in the save text field of the sketch especially because the "save as" window covers the menu bar where the project name is displayed.

shiffman commented 9 years ago

Another note re: save as. When you save as a project the <title>new project name</title> is changed in the HTML file. However, the editor often does not reflect if the HTML file was open in a tab already (unless I close and re-open that tab.) Perhaps this more of a question around how the editor updates files that are changed by some means other than the user typing in the editor itself?

sawula commented 8 years ago

With "Save Project As", if you just change the name of the project (and not its folder / destination because you aren't paying attention!), it will save a copy of the current project within itself ad infinitum (or many many times). And then you can't delete the folders because the path names are too long. A number of posted solutions to delete these folders don't work (eg, robocopy /MIR, cygwin rm, LPE.exe). On Windows 8. You should protect people from making this mistake as it isn't easily remedied.

spiricom commented 8 years ago

Also - it appears that the editor doesn't properly save the file when I choose "save as" and add a number to the end of the file. For instance, if I am working on something called "drum_machine" and I want to save a version as "drum_machine1", it fails to save. Another strange bug is that it often thinks I am trying to save inside a p5 project and complains even when I have navigated to a higher level folder in the "save as" window.

lmccart commented 8 years ago

Adding one other note from @shiffman on the topic of save as from issue #16:

Current behavior: ⇧⌘S is "saves file as" whereas I am used to ⇧⌘S to mean "saves project as".