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 53155 - Option to override formatting settings on per project basis.
Summary: Option to override formatting settings on per project basis.
Status: RESOLVED DUPLICATE of bug 46980
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2005-01-10 11:23 UTC by stas
Modified: 2008-12-22 10:50 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stas 2005-01-10 11:23:22 UTC
It would be good if project properties allowed to
override IDE's formatting settings.

Because different projects use different
formatting conventions (e.g. tabs vs spaces
indentation).
Comment 1 Jesse Glick 2005-01-10 21:29:07 UTC
Yes, currently the IDE is still using the 3.x-era IndentationEngine,
whereby you can create one or more "indentation engines" and set a
default engine as well as a particular engine for any given file. This
should be changed to a query ("what are the correct indentation
settings for file X.java?") with an implementation in each project
type (or a generic implementation using AuxiliaryConfiguration).
Comment 2 Jesse Glick 2008-04-08 17:58:01 UTC
Looks to be obsolete. IDE has a dialog for configuring text formatting.
Comment 3 Milos Kleint 2008-04-08 18:43:36 UTC
I disagree. It's not possible for me for example to have different formatting for netbeans.org projects and a different
set for maven.apache.org work. That's unfortunate because the coding rules in both communities differ quite a bit.

Actually I think this might be a duplicate of some other issue.
Comment 4 Jesse Glick 2008-04-08 18:46:21 UTC

*** This issue has been marked as a duplicate of 46980 ***