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 211615 - Add possibility override formatting settings per project
Summary: Add possibility override formatting settings per project
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 230062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-24 05:30 UTC by Koc
Modified: 2016-10-18 19:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koc 2012-04-24 05:30:14 UTC
Currently we can set up per project configuration for formatting. But in this case formatter configuration takes from default settings. It would be nice if per project formatting will extend global formatting configuration.
Comment 1 Jiri Prox 2012-04-24 06:37:05 UTC
This is already implemented, see the project properties.
Comment 2 Koc 2012-08-16 19:22:02 UTC
No, it doesn't work.

For example in global settings I've setted "use *new line* for braces in class/method declaration for PHP". But when I created new project with per-project formatting settings for changing tabs weight my classes/methods has braces at *same* line. Formatting options aren't inherited from my global configuration but tooks from default Netbeans configuration which IDE has after installation.
Comment 3 Jiri Prox 2012-08-17 08:19:24 UTC
Reproduced

when turning on project specific formatting, the setting are copied from the default global formatting settings, not from the actual global settings
Comment 4 Dusan Balek 2013-06-11 13:28:53 UTC
*** Bug 230062 has been marked as a duplicate of this bug. ***
Comment 5 Martin Balin 2016-07-07 07:28:45 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