Update eclipse-setup.rst

This is workaround for eclipse indexer problems. When I disable that option, my problems with eclipse and header files are gone.

Merges https://github.com/espressif/esp-idf/pull/1990
This commit is contained in:
Wenderson Oliveira 2018-05-23 08:16:25 -03:00 committed by Angus Gratton
parent 18533346b8
commit 2a6c35c9af
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ Navigate to "C/C++ General" -> "Preprocessor Include Paths" property page:
* In the list of providers, click "CDT GCC Build Output Parser" and type ``xtensa-esp32-elf-`` at the beginning of the Compiler command pattern. This means the full Compiler command pattern should be ``xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)``
Navigate to "C/C++ General" -> "Indexer" property page:
* Uncheck "Allow heuristic resolution of includes". When this option is enabled, Eclipse can make some mistakes when eclipse try to find project headers.
.. _eclipse-build-project:
Building in Eclipse