]> granicus.if.org Git - esp-idf/commitdiff
Update eclipse-setup.rst
authorWenderson Oliveira <wnoliveira@ucs.br>
Wed, 23 May 2018 11:16:25 +0000 (08:16 -0300)
committerAngus Gratton <gus@projectgus.com>
Mon, 4 Jun 2018 06:47:03 +0000 (16:47 +1000)
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

docs/en/get-started/eclipse-setup.rst

index 7d17d6c1590b5d37a69ddfa66191f7c46eb5a7af..21e68c11c01b5d1d6c6785363f16ab674484f823 100644 (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