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 147222 - Customize Code ignores project settings
Summary: Customize Code ignores project settings
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 01:23 UTC by _ gtzabari
Modified: 2016-07-07 07:16 UTC (History)
0 users

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 _ gtzabari 2008-09-15 01:23:15 UTC
dev build 200809121401

If I invoke Code-Format in the Customize Code dialog, it uses the global formatting settings instead of the
project-specific ones.
Comment 1 Jan Stola 2008-09-15 15:28:28 UTC
It seems to be a general problem of editors created using the following pattern:

  JEditorPane editor = ...
  editor.setEditorKit(CloneableEditorSupport.getEditorKit("text/x-java")); // NOI18N
  DialogBinding.bindComponentToFile(srcFile, ccPosition, 0, editor);

Reassigning to java/source for evaluation.
Comment 2 Jan Lahoda 2008-09-16 12:42:19 UTC
I am surprised that the formating works in this dialog at all.
Comment 3 Martin Balin 2016-07-07 07:16:19 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