From: Wenderson Oliveira Date: Wed, 23 May 2018 11:16:25 +0000 (-0300) Subject: Update eclipse-setup.rst X-Git-Tag: v3.1-beta1~54^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a6c35c9af992e6ffa788219454d35eb1ae4c08c;p=esp-idf 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 --- diff --git a/docs/en/get-started/eclipse-setup.rst b/docs/en/get-started/eclipse-setup.rst index 7d17d6c159..21e68c11c0 100644 --- a/docs/en/get-started/eclipse-setup.rst +++ b/docs/en/get-started/eclipse-setup.rst @@ -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