This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206342 - Formatting settings are not updated when project.xml is updated
Summary: Formatting settings are not updated when project.xml is updated
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 20:03 UTC by Michel Graciano
Modified: 2016-07-07 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project.xml (18.47 KB, text/xml)
2011-12-13 23:26 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2011-12-13 20:03:45 UTC
[ BUILD # : 201112030901 ]
[ JDK VERSION : 1.7.1 ]

After a merge the project formatting settings are not updated. I added a
<property name="enableCommentFormatting" value="false"/> entry after a CVS
merge but the settings were not updated and I needed to restart the IDE.
Comment 1 Jesse Glick 2011-12-13 21:15:24 UTC
I do not recognize this metadata syntax. What kind of project are you using? Steps to reproduce?
Comment 2 Michel Graciano 2011-12-13 23:25:07 UTC
I am using a Free form project, and this property is defined when I disable the comments formatting, via project popup > Properties > Formatting, for Java language and Comments category. When I change by UI, the setting is loaded and the sources are formatted correctly, but when I edit the project.xml file by hand, it is not loaded and the file is not formatted as expected. I will attache my project.xml file soon.
Comment 3 Michel Graciano 2011-12-13 23:26:07 UTC
Created attachment 114119 [details]
Sample project.xml

You can see the metadata I talked about at line 305.
Comment 4 Tomas Danek 2012-10-29 10:40:36 UTC
somewhat reproducible; changes made in project.xml like
<property name="enableCommentFormatting" value="true"/>
turned to
<property name="enableCommentFormatting" value="false"/>
is not reflected in UI.
Comment 5 Martin Balin 2016-07-07 08:37:54 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss