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.
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...
So, the templates instantiation is inside Java module, ASAIK, so probably java module folks should answer this question.
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 ?
Actually duplicate of issue #9955. Will implement for 3.4 *** This issue has been marked as a duplicate of 9955 ***
Resolved for 3.4.x or earlier, no new info since then -> closing.