使用环境
<!-- 必须 告知插件运行的环境,帮助开发者定位问题 -->
- 操作系统版本:Win11 22631.4112
- 操作系统平台(x86/x64):x64
- VsCode 版本:1.93.1
- EIDE 插件版本:3.19.9
- C/C++ 插件版本:1.21.6
- 何种编译器(keil_c51/sdcc/armcc5/armgcc/...):插件自带的AC5
- 编译器版本(非编译问题可忽略):
描述问题
<!-- 使用简明清晰的语言描述您的问题 -->
无法使用Switch Header/Source功能,除非手动打开过头文件
屏幕截图
<!--使用一些截图能够更好地展现问题 -->
C/C++ Diagnostic:
-------- Diagnostics - 9/19/2024, 12:56:12 PM
Version: 1.21.6
Current Configuration:
{
"name": "Win32",
"includePath": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/"
],
"defines": [
"DEBUG",
"UNICODE",
"UNICODE"
],
"cStandard": "c99",
"cppStandard": "c++11",
"intelliSenseMode": "clang-arm",
"intelliSenseModeIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"mergeConfigurations": false,
"compilerPath": "",
"compilerPathIsExplicit": true,
"configurationProvider": "cl.eide",
"browse": {
"path": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
Custom browse configuration:
{
"browsePath": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/PUB/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/MCU/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/RTE/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/GD/GD32F30x/Source/ARM/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/GD32F30x_standard_peripheral/Source/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/GD/GD32F30x/Source/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/arm/*"
],
"compilerPath": "",
"compilerArgsLegacy": []
}
cpptools version (native): 1.21.6.0
Translation Unit Mappings:
[ E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Sources\MCU_GPIO.c - source TU]:
Translation Unit Configurations:
[ E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Sources\MCU_GPIO.c ]:
Process ID: 18160
Memory Usage: 62 MB
Includes:
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\GD32F30x_standard_peripheral\Include
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS\arm
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\RTE\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\PUB\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS\GD\GD32F30x\Include
C:\Users\GGB.eide\tools\armcc_v5_cracked\include
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\arm_linux
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\arm_linux_compat
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\rw
Defines:
__VSCODE_CPPTOOL
USE_STDPERIPH_DRIVER
GD32F30X_HD
__TARGET_FPU_VFP
ARM_MATH_CM4
Forced Includes:
C:\USERS\GGB.EIDE\BIN\INCLUDE\INTERNAL_HEADERS\ARMCC_INTR.H
Standard Version: ms_c17
IntelliSense Mode: windows-msvc-x64
Total Memory Usage: 62 MB
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 40
期望现象
<!--您期望应该产生的,但实际上却没有发生的结果-->
C/C++ Diagnostic:
-------- Diagnostics - 9/19/2024, 12:57:50 PM
Version: 1.21.6
Current Configuration:
{
"name": "Win32",
"includePath": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/"
],
"defines": [
"DEBUG",
"UNICODE",
"UNICODE"
],
"cStandard": "c99",
"cppStandard": "c++11",
"intelliSenseMode": "clang-arm",
"intelliSenseModeIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"mergeConfigurations": false,
"compilerPath": "",
"compilerPathIsExplicit": true,
"configurationProvider": "cl.eide",
"browse": {
"path": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
Custom browse configuration:
{
"browsePath": [
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/PUB/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/MCU/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/RTE/Sources/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/GD/GD32F30x/Source/ARM/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/GD32F30x_standard_peripheral/Source/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/GD/GD32F30x/Source/",
"e:/Git_ECU/Pro/ECU_EideTemPresearch4BFPro_GD303/CMSIS/arm/*"
],
"compilerPath": "",
"compilerArgsLegacy": []
}
cpptools version (native): 1.21.6.0
Translation Unit Mappings:
[ E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Sources\MCU_GPIO.c - source TU]:
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Headers\MCU_GPIO.h
Translation Unit Configurations:
[ E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Sources\MCU_GPIO.c ]:
Process ID: 18160
Memory Usage: 63 MB
Includes:
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\GD32F30x_standard_peripheral\Include
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS\arm
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\RTE\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\PUB\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\MCU\Headers
E:\Git_ECU\Pro\ECU_EideTemPresearch4BFPro_GD303\CMSIS\GD\GD32F30x\Include
C:\Users\GGB.eide\tools\armcc_v5_cracked\include
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\arm_linux
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\arm_linux_compat
C:\Users\GGB.eide\tools\armcc_v5_cracked\include\rw
Defines:
__VSCODE_CPPTOOL
USE_STDPERIPH_DRIVER
GD32F30X_HD
__TARGET_FPU_VFP
ARM_MATH_CM4
Forced Includes:
C:\USERS\GGB.EIDE\BIN\INCLUDE\INTERNAL_HEADERS\ARMCC_INTR.H
Standard Version: ms_c17
IntelliSense Mode: windows-msvc-x64
Total Memory Usage: 63 MB
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 40