-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot change name of the created/existing template #62
Comments
(Changes updated at https://github.com/prominic/Moonshine-IDE/tree/template_creation_changes_ref_62) Following changes has been applied to the managing template section so far:
Few things which still needs to work on are:
|
|
[KNOWN ISSUE] If a file template is open at a time, and it's renamed from the |
I noticed that new templates were not populated in the menus until Moonshine restarted:
Also, I noticed that I could not create a new project based on the template added above. When I clicked File > New > , nothing happened. Mouse scrolling does not work properly in the Templating interface. @rat-moonshine pointed out that it does work if the cursor is over the scroll bar. |
Sorry, I accidentally clicked "Close and comment" :( |
1. Rename its tab upon renaming from Settings/Templating 2. Removing the tab upon deletion from Settings/Templating (reference #62)
Opening from the newly added File template menu also adds the new file to an opened project. However, there are still some settlement needs to do. Deleting from Settings/Templating also removes the menu items from File/New. (reference #62)
- Renaming a template from Settings/Templating now renames the item in File/New dialog (tested in Windows) Trouble: - Firing the template creation event after item renamed inside File/New Known issue: - Renaming label do not renaming item in right-click-project-File/New (reference #62)
Settings/Templating (tested in Windows) (reference #62)
Following things were covered until now:
Known issues:
|
I noticed a couple unexpected behaviors with the file templates:
Sometimes I got this result instead - I don't know what made the difference: For project templates, I saw this behavior:
|
properly triggers in Mac, too - Project's context menu generates properly with current file template list each time - Renaming project template changes name in sidebar in Mac, too - File template now has new field for extension input (reference #62)
All of the said bugs above, now handled. Some of them were working partially in Windows, now they works in Mac, too. Also, while working on the above fixes, I noticed that file created through a custom template (File/New) was saving without an extension. Now, the files saving with extension properly. To handle the situation better, file template creation now has a new field 'Extension' to input the extension type. Previously, one could able to omit the extension part and do a save. I also noticed some random bug when File/New custom menu items were reverting back to old labels (Mac). This has resolved. |
- [Bug] After renaming a project template - closing the project template through its context menu was not removing the project from sidebar - fixed (reference #62)
[BUG] While working on above changes, I noticed that renaming a project template, and therefore closing the opened project template through its context menu do not closed the project in sidebar. This has fixed now. |
New file creation dialog now shows the extension value for the file to be created. |
dialog by a custom template (reference #62)
I couldn't able to reproduce this issue with my some time of tests. Please, report if you able to reproduce it and if possibly with some steps @JoelProminic : Since the last remaining issue (file+extension validation handling through single field) is handled now, I'm closing this for the time being, until new problem come out. |
- Expand/collapse branches now restricted to double-click (reference #83)
When I created a bunch of new file templates in a row, and then create some example files from the template, I noticed that the File > New menu started getting messed up. For example:
Some other behavior I saw:
The right-click menu displayed properly in these tests. |
Also, the extension logic looks good to me now, but please change "Please enter a valid file name with extension." To: "Please enter a valid file name including an extension." |
non-VE projects, and during template creation/renaming etc. (reference #62)
Possibly the ordering, vanishing issues in File/New in MacOS now resolved, there were problems which have fixed now. Hopefully, the item messing issues inside File/New will not come again. While working on the above, I noticed one problem scenario -
This problem is solved now. |
This issue has been extracted from #27, where @JoelProminic created new template and couldn't change the name. Following comments describe the steps.
The text was updated successfully, but these errors were encountered: