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 17689 - User Options not used in Templates
Summary: User Options not used in Templates
Status: CLOSED DUPLICATE of bug 9955
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-14 22:56 UTC by Adam Blinkinsop
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Adam Blinkinsop 2001-11-14 22:56:58 UTC
Currently, when a template is used to create a new file, all of the text in the 
file uses default options as opposed to the user's custom options.

What would be nice is "piping" the Templates through the user's preferences 
(like the indentation engine) when writing the file.  I don't see why it 
doesn't do that now...

Is this a pain to implement?  I could see that...
Comment 1 Jan Lahoda 2001-11-15 11:40:16 UTC
So, the templates instantiation is inside Java module, ASAIK, so
probably java module folks should answer this question.
Comment 2 Svata Dedic 2001-11-15 13:24:50 UTC
It's possible to pipe the output through indent engine, but I would
rather do that conditionally - what if the template is already
pre-formatted and the indent engine would obscur it somehow ?
Comment 3 Svata Dedic 2001-11-21 07:33:14 UTC
Actually duplicate of issue #9955. Will implement for 3.4


*** This issue has been marked as a duplicate of 9955 ***
Comment 4 Quality Engineering 2003-07-01 13:11:30 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 13:19:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.