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 148357

Summary: No warning in options->formatting if project uses project-specific formatting
Product: editor Reporter: Ondrej Langr <olangr>
Component: Formatting & IndentationAssignee: issues@editor <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: vstejskal
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ondrej Langr 2008-09-25 13:54:30 UTC
How to reproduce: 

1) Choose any Java (or PHP or other) project and in it's properties set project specific formatting. 
2) Now, open any file from that project, go to Options -> Editor -> Formatting and try to edit the formatting. Despite
that you will see the live-preview, the changes will not be applied to the file you're editing (for an obvious reason,
it has it's own project specific formatting now). There i

If there is a significant amount of time between steps 1) and 2) or if they were done by different people, users'
perception can be that changing the formatting just doesn't work, for no reason.

Solution: 
We should add the warning to be displayed in tools-> Editor -> Formatting if the currently open file belongs to a
project which has project specific formatting enabled. 

I'm not sure if this is a defect or enhancement. So far, AFAIK, nobody complained, but obviously this could pose a
problem in some situations.
Comment 1 Max Sauer 2008-11-27 14:01:49 UTC
This will be resolved later, would require vast changes.
Comment 2 Quality Engineering 2009-11-02 10:57:23 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX