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 243039 - Code completion does not contain generate constructor item
Summary: Code completion does not contain generate constructor item
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 09:21 UTC by Alexander Simon
Modified: 2014-04-24 02:03 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 Alexander Simon 2014-03-19 09:21:42 UTC
Code completion in class body (Ctrl+space) should suggest:
1. generate constructor for fields
and probably:
2. generate explicit copy constructor
3. generate assign operator
4. generate equal operator
Comment 1 Quality Engineering 2014-03-20 03:05:53 UTC
Integrated into 'main-silver', will be available in build *201403200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c9bb8f727d3a
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #243039 - Code completion does not contain generate constructor item
- refactor CsmDocProvider
Comment 2 Alexander Simon 2014-03-20 09:06:38 UTC
Completion list contains one "Generate" item with following behavior:
1. exist if prefix is empty and context is class or field declaration
2. action delegates generating to "Insert Code..." action
Comment 3 Quality Engineering 2014-03-21 03:08:48 UTC
Integrated into 'main-silver', will be available in build *201403210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a4dc1ca1e890
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #243039 - Code completion does not contain generate constructor item
- add generate completion only on class and field context
Comment 4 Quality Engineering 2014-04-24 02:03:52 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/80d97906e372
User: Ilia Gromov <ilia@netbeans.org>
Log: fixing Bug #243039 - Code completion does not contain generate constructor item
- refactor CsmDocProvider [ Merge of 281889:c9bb8f727d3a from cnd-main ]