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 174905 - 'Call Web Service Operation... ' breaks source code
Summary: 'Call Web Service Operation... ' breaks source code
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 16:50 UTC by Martin Schovanek
Modified: 2010-05-20 12:26 UTC (History)
1 user (show)

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 Martin Schovanek 2009-10-19 16:50:00 UTC
NetBeans IDE 6.8 Beta (Build 200910171337)

The action inserts a snippet of code at cursor position regardless on context. So the snippet can appear outside of a
method, class or at the middle of a keyword and breaks the existing source code.

I would suggest to use the same approach like 'Send Email ...', 'Send JMS message ...' which inserts appropriate method
at surrounding class and let user to use it at choice.
Comment 1 Milan Kuchtiak 2010-03-18 12:56:48 UTC
Fixed:
http://hg.netbeans.org/main/rev/346de0521527
Comment 2 Quality Engineering 2010-03-19 05:13:26 UTC
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/346de0521527
User: mkuchtiak@netbeans.org
Log: #174905: generate method rather than code snippet
Comment 3 Jaroslav Pospisil 2010-05-20 12:26:46 UTC
v.