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.
Have installed the wonderful cppreference.com in the form of auto-generated manual pages (see github.com/jeaye/stdman for more). Netbeans seems to pick documentation inconsistently. [code]#include <memory> struct Node {}; int main() { std::unique_ptr<Node> u(new Node); std::shared_ptr<Node> s(new Node); s.get(); u.get(); }[/code] For example, it insists on showing the Javadoc for std::shared_ptr but is quite happy to display the manpage for std::unique_ptr. Similarly, it will display the manpage for unique_ptr::get but displays no documentation at all for shared_ptr::get. Calling man std::shared_ptr::get works fine. Removing the Javadoc from the shared_ptr include file helps bring up the correct manpage but is not a nice solution and also doesn't resolve the issue with shared_ptr::get
The documentation priority is: 1. doxygen or javadoc comment in code 2. man pages 3. block comment According this rule the IDE works right.
I would propose to add a command-line (-J-D...) option that regulates this.
fixed in enum, branch release82, change set db1a01018d99 - added ordered list of documentation providers (Tools->Options->Editor->Code Completion->C/C++->Documentation Settings)
Integrated into 'main-silver', will be available in build *201611110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/326a7713d538 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #250562 c++ documentation picks source inconsistently (transplanted from db1a01018d995cda55951b7434d486eeec9008a3)
Integrated into 'main-silver', will be available in build *201612030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b5144ff20d0b User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #250562 c++ documentation picks source inconsistently - additional fix to support man format from http://cppreference.com (transplanted from 2f2ce341ea698d6a4f8c193ee269b46d1bc0429f)
Verified in internal NetBeans 8,2 patch 1 build.