Summary: | [inline renaming] Renaming a resource to an already existing name logs an internal error | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Thomas Wolf <twolf> |
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | aobuchow |
Version: | 4.16 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Whiteboard: |
Description
Thomas Wolf
2020-05-30 08:04:50 EDT
RenameResourceAction only checks whether the new file name per se is valid and shows a dialog if not, but it doesn't check whether a resource with the new name already exists. In the project explorer, the error is only logged; the rename fails (the resource is not renamed), but there's no other user feedback. Just as a hint: the inline rename in the git repositories view for repository groups validates the user input on the fly, shows errors in a popup, and refuses to even try to execute the renaming if the input isn't valid. |