diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_scanner_discovery.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_scanner_discovery.htm index ba333b2110d..99f685d16a8 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_scanner_discovery.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_scanner_discovery.htm @@ -11,6 +11,8 @@

Scanner Discovery

+ +

General

Scanner Discovery (sometimes called Autodiscovery) is a method of finding include paths and predefined preprocessor macros which the compiler uses during compilation of the code.

@@ -70,14 +72,33 @@ Each Language Settings Provider can be expanded to show the entries it discovere If information retrieved by auto-discovery is insufficient or the project deviates from a standard one supported by CDT a user can enter additional include paths and macros manually under "User Settings Entries".

+

Project Explorer View

+

The Project Explorer View provides a means to view some of the settings. The discovered include paths are shown under the project when "Includes" node is expanded.
Also, a "Wrench" overlay icon is shown for those file/folders where distinct entries are discovered which differ from those of parent folder. Wrench is not shown on project level.
In the example below, Hello.cpp was compiled with added -DHELLO compiler option. After BOP discovery "Wrench" overlay is shown for this file. +

+

Project Explorer view

+

Console View

+

+The output of built-in compiler specs detectors can be inspected to troubleshoot problems running the command. +To do so, enable checkbox "Allocate console in the Console View". +

+

+Spec Detectors Properties +

+ +

+When checkbox "Allocate console in the Console View" is enabled, output of each run of the provider will be directed to a special console in the Console View. +

+

+Console View +

Related concepts
C/C++ Indexer
diff --git a/doc/org.eclipse.cdt.doc.user/images/scanner_discovery/sd_console_view.png b/doc/org.eclipse.cdt.doc.user/images/scanner_discovery/sd_console_view.png new file mode 100644 index 00000000000..f308a2a1318 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/scanner_discovery/sd_console_view.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_scanner_discovery.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_scanner_discovery.htm index 0ae75fa321a..189b0f2a51c 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_scanner_discovery.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_scanner_discovery.htm @@ -201,6 +201,7 @@ Language settings providers can have options that affect the behavior of a provi Allocate console in the Console View Enable to troubleshoot problems running the command. When enabled, output of each run of the provider will be directed to a special console in the Console View. + See also Scanner Discovery - Console View.