mbien commented on issue #7577: URL: https://github.com/apache/netbeans/issues/7577#issuecomment-2243877566
I mean it could change behavior, but how does an IDE know what the user intends to do? Trying to rename this field will open the refactoring window which already has a preview button to review changes before applying them. I often intentionally rename identifiers to the same name of something else as intermediate step, before removing the other declaration during cleanups. I suppose this could be updated to detect this situation and add a "identifier will hide a field warning", but NB shouldn't prevent the refactoring there. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
