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 268467 - Code completion adds #include <sstream> instead of #include <iostream>
Summary: Code completion adds #include <sstream> instead of #include <iostream>
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 252131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-11 11:38 UTC by soldatov
Modified: 2016-12-07 13:55 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 soldatov 2016-10-11 11:38:28 UTC
Platform: Solaris 11.3
Compiler: Oracle Developer Studio dev builds
C++ code:

int main(int argc, char** argv) {

    return 0;
}

Type 'std::cou', press Ctrl-Space and select 'cout'
==> IDE adds #include <sstream>
Comment 1 Alexander Simon 2016-10-12 16:12:01 UTC
fixed in enum, branch release82, change set 581656f28d09
Comment 2 Quality Engineering 2016-10-20 01:58:53 UTC
Integrated into 'main-silver', will be available in build *201610200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3114bad4f385
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #268467 Code completion adds #include <sstream> instead of #include <iostream>
Bug #268485 Code completion adds #include <bits/unordered_map.h> instead of #include <unordered_map>
Bug #268484 Code Completion adds #include <map> instead of #include <array>
(transplanted from 581656f28d09e2768942c6e9d7813742f8befb9f)
Comment 3 Alexander Simon 2016-10-31 11:16:59 UTC
*** Bug 252131 has been marked as a duplicate of this bug. ***
Comment 4 soldatov 2016-12-07 13:55:50 UTC
Verified in internal NetBeans 8,2 patch 1 build.