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 39549

Summary: Suggest to enhance the templates functionality with Cursor placement position
Product: platform Reporter: iformanek <iformanek>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description iformanek 2004-02-03 12:14:05 UTC
... so that when the user creates a new class 
from template, he is placed to the most likely 
place to start coding.

Example could be "Java Main Class", where the 
cursor should be placed in the main method.

Not all templates would want to do this though, 
so some system (like the "|" character user for 
abbreviations) using which the template could 
specify this would be great.

Perhaps "/*[cursor]*/" which, upon creation of 
the file from template woud be deleted and the 
cursor placed here (if the text is found there)?