[ 
https://issues.apache.org/jira/browse/NETBEANS-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647704#comment-16647704
 ] 

Jan Lahoda commented on NETBEANS-1410:
--------------------------------------

I believe the reason is that the form editor rewrites the sections when the 
form is modified. So any manual change may be lost. Of course, some developers 
may be fine with that (e.g. never opening the file again in the form editor), 
but I doubt most developers will understand the form editor is not a two-way 
editor.

> 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

Reply via email to