From f9a3368f28251fa622219b25ca1e0b7187196c36 Mon Sep 17 00:00:00 2001 From: Jin Fang Cheng Cheng Date: Fri, 8 Jun 2018 11:00:29 +0800 Subject: [PATCH 1/2] Update eclipse-setup.rst --- docs/zh_CN/get-started/eclipse-setup.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/zh_CN/get-started/eclipse-setup.rst b/docs/zh_CN/get-started/eclipse-setup.rst index e2f7be8a3..886ee03fa 100644 --- a/docs/zh_CN/get-started/eclipse-setup.rst +++ b/docs/zh_CN/get-started/eclipse-setup.rst @@ -61,6 +61,10 @@ Windows 用户 * 从 “Providers” 列表中选择 “CDT GCC Build Output Parser”,然后在 “Compiler command pattern“ 输入框的起始位置输入 ``xtensa-esp32-elf-``,最终的完整编译器命令应为 ``xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)``。 +* 前往 “C/C++ General” -> “Indexer” 属性页面。 + + * 去除 "Allow heuristic resolution of includes" 勾选。启用此选项时,Eclipse 有时无法找到正确的头文件目录。 + .. _eclipse-build-project: 在 Eclipse IDE 中创建项目 @@ -104,6 +108,4 @@ Windows 用户 eclipse-setup-windows -.. _eclipse.org: https://www.eclipse.org/ - - +.. _eclipse.org: https://www.eclipse.org/ \ No newline at end of file From f5f200ee30b80fe9045e3ace9408d47a0f5af60f Mon Sep 17 00:00:00 2001 From: Jin Fang Cheng Cheng Date: Fri, 8 Jun 2018 11:01:25 +0800 Subject: [PATCH 2/2] Update eclipse-setup.rst Ref https://github.com/espressif/esp-idf/pull/1990