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 88627 - Code Snippet Palette for Java Files
Summary: Code Snippet Palette for Java Files
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 90211
  Show dependency tree
 
Reported: 2006-11-03 19:32 UTC by Joelle Lam
Modified: 2008-01-11 13:41 UTC (History)
3 users (show)

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 Joelle Lam 2006-11-03 19:32:21 UTC
Code Snippet Palette for Java Files.
Comment 1 Stanislav Aubrecht 2006-12-20 09:56:03 UTC
reassigning to java team for evaluation
Comment 2 Stanislav Aubrecht 2007-02-27 10:50:07 UTC
it's seem i forgot to reassign...
Comment 3 sjangity 2007-03-14 23:56:05 UTC
This causes a major inconsistency problem when using for instance, Visual Web
Pack. User-defined clips are not readily accessible. Any chance this will be
addressed for NB 6.0?
Comment 4 Stanislav Aubrecht 2007-03-15 09:24:33 UTC
sjangity, can you pls elaborate what the inconsistency problems are?
also see here: http://blogs.sun.com/geertjan/entry/palette_api_and_6_01
Comment 5 sjangity 2007-03-15 15:57:24 UTC
When working with VWP during the JSP/Java src editor view, the Palette surfaces
to show Code Clips (each of which is a snippet of reusable code). The user can
define their own set of code clips and by simply dragging the code clip into the
editor have a block of code reusable throughout their sources.

When working with managed beans (ie. SessionBean/ApplicationBean/etc.,) the
Palette doesn't show the code clips. Of course, this may be a desired behavior
ONLY for VWP users, but you can imagine the highly inconsistent state the user
is exposed to in working with the backing beans where their code clips are
virtually inaccessible.
Comment 6 Joelle Lam 2007-07-30 22:34:53 UTC
I believe this can marked as fixed.
Comment 7 Joelle Lam 2007-08-07 02:18:17 UTC
This was fixed in core palette.