Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to include the cpp-reference.com documentation into clion's quick documentation viewer?

Tags:

clion

The provided documentation for the basic c++ packages within clion seems to be very short, and sometimes it is not possible to find any documentation for basic functions like e.g. the tangens function of the math package. Is it somehow possible to include the offline-version of cppreference.com into clion's doxygen-based documentation viewer?

like image 560
Sebastian Avatar asked May 03 '18 10:05

Sebastian


People also ask

Who is Cppreference?

Who is behind this site? cppreference.com was created and is maintained by a group of C++ enthusiasts from around the world.

How do you make a C project in CLion?

If no project is currently opened in CLion, click New Project on the Welcome screen. Otherwise, select File | New Project on the main menu. In the New Project dialog that opens, select the target type of your project (executable or library), and the language to be used (pure C or C++).

What is CLion used for?

CLion is more than just an editor as it offers a powerful debugger and dynamic analysis tools to investigate and solve problems with ease, built-in Google Test, Boost. Test, Doctest and Catch for unit testing, many popular VCS supported out of the box and more.


1 Answers

At the moment CLion doesn't support such functionality, here's the ticket for that https://youtrack.jetbrains.com/issue/CPP-9413.

As workaround, in case you use Linux you can install standard library with documentation, for instance: https://packages.debian.org/sid/libstdc++-6-doc https://packages.debian.org/sid/glibc-doc After that CLion will have to work with lib-sources which documentation comments.

like image 181
vromanik Avatar answered Sep 25 '22 23:09

vromanik