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 144523 - The java palette code is not generated at the cursor position
Summary: The java palette code is not generated at the cursor position
Status: CLOSED INVALID
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Satyaranjan D
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 06:35 UTC by siddeshk123
Modified: 2009-03-17 07:23 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 siddeshk123 2008-08-20 06:35:02 UTC
Netbeans 6.5 Beta + saw plugin

1. Create a java webapp with saw plugin support
2. open the java file and click the cursor in the java file
3. double click on the saw palette icon(any icon from the saw java palette)

The code doesn't get added at the cursor position. It is always added at the end of the file.
Comment 1 Satyaranjan D 2008-08-20 07:57:07 UTC
You can't add a java method at the cursor position as done for jsp. If we add java method code at the cursor position,
the code may not compile sometime. So it's not a bug, the feature is implemented like that only. 

But if it's a java code snippet then it should be added at the cursor position.