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 113822 - multiple code formatting, import/export
Summary: multiple code formatting, import/export
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 4 votes (vote)
Assignee: Rastislav Komara
Depends on:
Reported: 2007-08-27 07:20 UTC by pepeio
Modified: 2009-02-03 10:52 UTC (History)
3 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description pepeio 2007-08-27 07:20:50 UTC
One feature of jalopy that netbeans formatter really misses is the possibility to have multiple formatting sets.
Working on various projects -each with their formatting rules- i have ended not using formatter anymore and doing it all
by hand. In fact, it was so tedious to change formatting rules each time i was swapping projects that i lose more time
than going 'the long way'.
For that option to be useful, there is also a need to import/export format preferences, so that each and every projects
that want formatting to be consistent can have the format file within cvs.
Comment 1 Ondrej Langr 2008-06-25 13:22:00 UTC
First part of this issue (per project formatting settings) has been implemented for 6.5, but the second part
(import/export) would still cover a few common use-cases and would be very useful.
Comment 2 Jiri Skrivanek 2008-11-03 09:52:56 UTC
Import/export is wanted also for other settings. If you are about to implement this feature for formatting setting,
consider some general UI concept which fits in Tools>Options dialog (see issue 42157).
Comment 3 adam_myatt 2009-01-28 01:34:56 UTC
Import/Export of formatting settings sounds very useful. It would be nice to import a set, name it something like 'my 
code settings 1', and then in a specific project properties window, pick the named set to apply to the project. casting 
my vote for this. love to see it in NB7.
Comment 4 Rastislav Komara 2009-02-03 10:52:36 UTC