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.
Scenario: - Launch NetBeans on Oracle Linux 7 - Add "Oracle Developer Studio" compiler - Create C++ Application project with empty C++ file - Try any of 3 test cases (move cursor to end of word, press Ctrl-Space, select function and press Enter) int main() { printf // 1st test std::printf // 2nd test std::reverse // 3rd test } Expected behavior: IDE adds #include <stdio.h> or #include <algorithm> Real behavior: no any #include This sanity test works on Clang(MacOSX), GCC(Linux, Solaris, Cygwin, MSYS2), Oracle Developer Studio (Solaris only) platforms.
Created attachment 162216 [details] proposed patch
fixed in enum, branch release82, change set d4bc7b24e7e8
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/73f8e2bf9f91 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug 268205 On Linux "Auto #include" doesn't work if current compiler is Oracle Developer Studio (transplanted from d4bc7b24e7e895af509fa06e8569bbd436e5c5c7)
Verified in internal NetBeans 8,2 patch 1 build.