[ https://issues.apache.org/jira/browse/NETBEANS-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647760#comment-16647760 ]
Christian Lenz commented on NETBEANS-1410: ------------------------------------------ Here is such a question: https://stackoverflow.com/questions/17131589/how-to-change-non-editable-generated-code-in-netbeans > Remove the blocking code section in java files for swing > -------------------------------------------------------- > > Key: NETBEANS-1410 > URL: https://issues.apache.org/jira/browse/NETBEANS-1410 > Project: NetBeans > Issue Type: Improvement > Components: guibuilder - Binding, guibuilder - Code > Affects Versions: Next > Reporter: Christian Lenz > Priority: Major > > Please give us the freedom to remove the code and not create guarded blocks. > I have often the problem, that I want to remove code, that I accidentally > added via the GUI designer like double clicking the button (I always think > that I can change the label on it, no it will create an action listener for > it). IntelliJ doesn't do that and I guess the JFormDesigner will not do this > too. > So please don't say, you are not allowed to change the code. There are some > others, when you google for it, that they have also the same problem. We are > developer, we should know, what we are doing. > Customize Code will also not help to 100%. There is no reason to make such > generated code read only. Often I have to open the file in VS Code for > example, to remove the unused code which is not nice. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists