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 - Suggest to enhance the templates functionality with Cursor placement position
Summary: Suggest to enhance the templates functionality with Cursor placement position
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 12:14 UTC by iformanek
Modified: 2009-01-06 14:28 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 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)?