我遇到了一个奇怪的问题,让Intellisense在我的工作区中"查找所有引用","转到定义"和"转到引用"。它永远不会在任何地方找到引用。"转到定义"只在定义在同一个. ino文件中时才起作用;如果定义在任何其他文件或库中,它将转到相应头文件中的声明。当我悬停时,我会得到有效的"快速信息",当我开始键入一些东西时,会弹出有效的完成列表,所以Intellisense大部分时间都在工作。
现在是真正奇怪的部分:我最近使用Arduino扩展从Arduino IDE迁移到VS Code。当我这样做时,我让所有的Intellisense特性都工作了,甚至是引用。然后我让我的SEGGER调试器工作了(一个痛苦的试错过程)。当我再次尝试引用时,我发现我不知何故用我上面描述的症状破坏了它。
我不想搞砸调试器,所以又试着用笔记本电脑(一台和台式机类似的机器)完成整个调试过程,在相当短的时间内,我让笔记本电脑完美地工作起来:智能感知和调试器甚至引用。
然后我在桌面上卸载了VS代码,从头开始,我遇到了同样的References问题。据我所知,两台机器的设置是一样的。我甚至尝试交换c_cpp_properties. json文件,但没有任何区别。
我的工作区位于网络驱动器上,可从两台计算机访问,显示为Y:一组. json文件是从这个驱动器共享的,但是我尝试将两台机器定向到那个驱动器上的不同工作区文件夹,结果没有什么区别。
阿尔杜伊诺1.8.19
电路板驱动器:SparkFun SAMD21分线开发卡1.8.6(依赖性:Arduino SAMD电路板1.8.1)
电路板驱动器:Arduino SAMD电路板1.8.12
VS代码1.64.0扩展:
Arduino微软版
智能感知
C/C ++语言
C/C 扩展包(9个扩展)
更好的C语法
远程扩展(4)
{
"version": 4,
"configurations": [
{
"name": "Arduino",
"compilerPath": "C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\bin\\arm-none-eabi-g++",
"compilerArgs": [
"-mcpu=cortex-m0plus",
"-mthumb",
"-w",
"-std=gnu++11",
"-ffunction-sections",
"-fdata-sections",
"-fno-threadsafe-statics",
"-nostdlib",
"--param",
"-fno-rtti",
"-fno-exceptions"
],
"intelliSenseMode": "gcc-x64",
"includePath": [
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0\\CMSIS\\Include\\",
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0\\CMSIS\\Device\\ATMEL\\",
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\samd\\1.8.6\\cores\\arduino",
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\samd\\1.8.6\\variants\\SparkFun_SAMD21_Dev",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\DougAS5600",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_BusIO",
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\samd\\1.8.6\\libraries\\Wire",
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\samd\\1.8.6\\libraries\\SPI",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_INA260_Library",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_AHRS\\src",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_GPS_Library\\src",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Arduino-MemoryFree-master",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_SleepyDog_Library",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\WMM_Tinier\\src",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_LSM6DS",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_LIS3MDL",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Iridium_SBD\\src",
"C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library",
"C:\\Users\\doug\\Documents\\Arduino\\libraries\\Adafruit_SSD1306",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\arm-none-eabi\\include\\c++\\4.8.3",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\arm-none-eabi\\include\\c++\\4.8.3\\arm-none-eabi",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\arm-none-eabi\\include\\c++\\4.8.3\\backward",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\lib\\gcc\\arm-none-eabi\\4.8.3\\include",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\lib\\gcc\\arm-none-eabi\\4.8.3\\include-fixed",
"c:\\users\\doug\\appdata\\local\\arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1\\arm-none-eabi\\include"
],
"forcedInclude": [
"C:\\Users\\doug\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\samd\\1.8.6\\cores\\arduino\\Arduino.h"
],
"cStandard": "c11",
"cppStandard": "c++11",
"defines": [
"F_CPU=48000000L",
"ARDUINO=10819",
"ARDUINO_SAMD_ZERO",
"ARDUINO_ARCH_SAMD",
"__SAMD21G18A__",
"USB_VID=0x1B4F",
"USB_PID=0x8D21",
"USBCON",
"USB_MANUFACTURER=\"SparkFun\"",
"USB_PRODUCT=\"SFE SAMD21\"",
"__DBL_MIN_EXP__=(-1021)",
"__HQ_FBIT__=15",
"__UINT_LEAST16_MAX__=65535",
"__ARM_SIZEOF_WCHAR_T=32",
"__ATOMIC_ACQUIRE=2",
"__SFRACT_IBIT__=0",
"__FLT_MIN__=1.1754943508222875e-38F",
"__UFRACT_MAX__=0XFFFFP-16UR",
"__UINT_LEAST8_TYPE__=unsigned char",
"__DQ_FBIT__=63",
"__INTMAX_C(c)=c ## LL",
"__ULFRACT_FBIT__=32",
"__SACCUM_EPSILON__=0x1P-7HK",
"__CHAR_BIT__=8",
"__USQ_IBIT__=0",
"__UINT8_MAX__=255",
"__ACCUM_FBIT__=15",
"__WINT_MAX__=4294967295U",
"__USFRACT_FBIT__=8",
"__ORDER_LITTLE_ENDIAN__=1234",
"__SIZE_MAX__=4294967295U",
"__ARM_ARCH_ISA_ARM=1",
"__WCHAR_MAX__=4294967295U",
"__LACCUM_IBIT__=32",
"__DBL_DENORM_MIN__=double(4.9406564584124654e-324L)",
"__GCC_ATOMIC_CHAR_LOCK_FREE=1",
"__FLT_EVAL_METHOD__=0",
"__LLACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-31LLK",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE=1",
"__FRACT_FBIT__=15",
"__UINT_FAST64_MAX__=18446744073709551615ULL",
"__SIG_ATOMIC_TYPE__=int",
"__UACCUM_FBIT__=16",
"__DBL_MIN_10_EXP__=(-307)",
"__FINITE_MATH_ONLY__=0",
"__ARMEL__=1",
"__LFRACT_IBIT__=0",
"__GNUC_PATCHLEVEL__=3",
"__LFRACT_MAX__=0X7FFFFFFFP-31LR",
"__UINT_FAST8_MAX__=4294967295U",
"__DEC64_MAX_EXP__=385",
"__INT8_C(c)=c",
"__UINT_LEAST64_MAX__=18446744073709551615ULL",
"__SA_FBIT__=15",
"__SHRT_MAX__=32767",
"__LDBL_MAX__=1.7976931348623157e+308L",
"__FRACT_MAX__=0X7FFFP-15R",
"__UFRACT_FBIT__=16",
"__ARM_FP=12",
"__UFRACT_MIN__=0.0UR",
"__UINT_LEAST8_MAX__=255",
"__GCC_ATOMIC_BOOL_LOCK_FREE=1",
"__UINTMAX_TYPE__=long long unsigned int",
"__LLFRACT_EPSILON__=0x1P-63LLR",
"__DEC32_EPSILON__=1E-6DF",
"__CHAR_UNSIGNED__=1",
"__UINT32_MAX__=4294967295UL",
"__ULFRACT_MAX__=0XFFFFFFFFP-32ULR",
"__TA_IBIT__=64",
"__LDBL_MAX_EXP__=1024",
"__WINT_MIN__=0U",
"__ULLFRACT_MIN__=0.0ULLR",
"__SCHAR_MAX__=127",
"__WCHAR_MIN__=0U",
"__INT64_C(c)=c ## LL",
"__DBL_DIG__=15",
"__GCC_ATOMIC_POINTER_LOCK_FREE=1",
"__LLACCUM_MIN__=(-0X1P31LLK-0X1P31LLK)",
"__SIZEOF_INT__=4",
"__SIZEOF_POINTER__=4",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE=1",
"__USACCUM_IBIT__=8",
"__USER_LABEL_PREFIX__",
"__STDC_HOSTED__=1",
"__LDBL_HAS_INFINITY__=1",
"__LFRACT_MIN__=(-0.5LR-0.5LR)",
"__HA_IBIT__=8",
"__ARM_NEON_FP=4",
"__TQ_IBIT__=0",
"__FLT_EPSILON__=1.1920928955078125e-7F",
"__APCS_32__=1",
"__GXX_WEAK__=1",
"__USFRACT_IBIT__=0",
"__LDBL_MIN__=2.2250738585072014e-308L",
"__FRACT_MIN__=(-0.5R-0.5R)",
"__DEC32_MAX__=9.999999E96DF",
"__DA_IBIT__=32",
"__ARM_SIZEOF_MINIMAL_ENUM=1",
"__INT32_MAX__=2147483647L",
"__UQQ_FBIT__=8",
"__SIZEOF_LONG__=4",
"__UACCUM_MAX__=0XFFFFFFFFP-16UK",
"__UINT16_C(c)=c",
"__DECIMAL_DIG__=17",
"__LFRACT_EPSILON__=0x1P-31LR",
"__ULFRACT_MIN__=0.0ULR",
"__LDBL_HAS_QUIET_NAN__=1",
"__ULACCUM_IBIT__=32",
"__UACCUM_EPSILON__=0x1P-16UK",
"__GNUC__=4",
"__ULLACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-32ULLK",
"__GXX_RTTI=1",
"__HQ_IBIT__=0",
"__FLT_HAS_DENORM__=1",
"__SIZEOF_LONG_DOUBLE__=8",
"__BIGGEST_ALIGNMENT__=8",
"__DQ_IBIT__=0",
"__DBL_MAX__=double(1.7976931348623157e+308L)",
"__ULFRACT_IBIT__=0",
"__INT_FAST32_MAX__=2147483647",
"__DBL_HAS_INFINITY__=1",
"__INT64_MAX__=9223372036854775807LL",
"__ACCUM_IBIT__=16",
"__DEC32_MIN_EXP__=(-94)",
"__THUMB_INTERWORK__=1",
"__LACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-31LK",
"__INT_FAST16_TYPE__=int",
"__LDBL_HAS_DENORM__=1",
"__cplusplus=199711L",
"__DEC128_MAX__=9.999999999999999999999999999999999E6144DL",
"__INT_LEAST32_MAX__=2147483647L",
"__ARM_PCS=1",
"__DEC32_MIN__=1E-95DF",
"__ACCUM_MAX__=0X7FFFFFFFP-15K",
"__DEPRECATED=1",
"__DBL_MAX_EXP__=1024",
"__USACCUM_EPSILON__=0x1P-8UHK",
"__DEC128_EPSILON__=1E-33DL",
"__SFRACT_MAX__=0X7FP-7HR",
"__FRACT_IBIT__=0",
"__PTRDIFF_MAX__=2147483647",
"__UACCUM_MIN__=0.0UK",
"__UACCUM_IBIT__=16",
"__GNUG__=4",
"__LONG_LONG_MAX__=9223372036854775807LL",
"__SIZEOF_SIZE_T__=4",
"__ULACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-32ULK",
"__SIZEOF_WINT_T__=4",
"__SA_IBIT__=16",
"__ULLACCUM_MIN__=0.0ULLK",
"__GXX_ABI_VERSION=1002",
"__UTA_FBIT__=64",
"__SOFTFP__=1",
"__FLT_MIN_EXP__=(-125)",
"__USFRACT_MAX__=0XFFP-8UHR",
"__UFRACT_IBIT__=0",
"__INT_FAST64_TYPE__=long long int",
"__DBL_MIN__=double(2.2250738585072014e-308L)",
"__FLT_MIN_10_EXP__=(-37)",
"__LACCUM_MIN__=(-0X1P31LK-0X1P31LK)",
"__ULLACCUM_FBIT__=32",
"__GXX_TYPEINFO_EQUALITY_INLINE=0",
"__ULLFRACT_EPSILON__=0x1P-64ULLR",
"__USES_INITFINI__=1",
"__DEC128_MIN__=1E-6143DL",
"__REGISTER_PREFIX__",
"__UINT16_MAX__=65535",
"__DBL_HAS_DENORM__=1",
"__ACCUM_MIN__=(-0X1P15K-0X1P15K)",
"__SQ_IBIT__=0",
"__UINT8_TYPE__=unsigned char",
"__UHA_FBIT__=8",
"__NO_INLINE__=1",
"__SFRACT_MIN__=(-0.5HR-0.5HR)",
"__UTQ_FBIT__=128",
"__FLT_MANT_DIG__=24",
"__VERSION__=\"4.8.3 20140228 (release) [ARM/embedded-4_8-branch revision 208322]\"",
"__UINT64_C(c)=c ## ULL",
"__ULLFRACT_FBIT__=64",
"__FRACT_EPSILON__=0x1P-15R",
"__ULACCUM_MIN__=0.0ULK",
"__UDA_FBIT__=32",
"__LLACCUM_EPSILON__=0x1P-31LLK",
"__GCC_ATOMIC_INT_LOCK_FREE=1",
"__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__",
"__USFRACT_MIN__=0.0UHR",
"__ULLACCUM_IBIT__=32",
"__UQQ_IBIT__=0",
"__INT32_C(c)=c ## L",
"__DEC64_EPSILON__=1E-15DD",
"__ORDER_PDP_ENDIAN__=3412",
"__DEC128_MIN_EXP__=(-6142)",
"__UHQ_FBIT__=16",
"__LLACCUM_FBIT__=31",
"__INT_FAST32_TYPE__=int",
"__UINT_LEAST16_TYPE__=short unsigned int",
"__INT16_MAX__=32767",
"__SIZE_TYPE__=unsigned int",
"__UINT64_MAX__=18446744073709551615ULL",
"__UDQ_FBIT__=64",
"__INT8_TYPE__=signed char",
"__ELF__=1",
"__ULFRACT_EPSILON__=0x1P-32ULR",
"__LLFRACT_FBIT__=63",
"__FLT_RADIX__=2",
"__INT_LEAST16_TYPE__=short int",
"__LDBL_EPSILON__=2.2204460492503131e-16L",
"__UINTMAX_C(c)=c ## ULL",
"__SACCUM_MAX__=0X7FFFP-7HK",
"__SIG_ATOMIC_MAX__=2147483647",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE=1",
"__VFP_FP__=1",
"__SIZEOF_PTRDIFF_T__=4",
"__LACCUM_EPSILON__=0x1P-31LK",
"__DEC32_SUBNORMAL_MIN__=0.000001E-95DF",
"__INT_FAST16_MAX__=2147483647",
"__UINT_FAST32_MAX__=4294967295U",
"__UINT_LEAST64_TYPE__=long long unsigned int",
"__USACCUM_MAX__=0XFFFFP-8UHK",
"__SFRACT_EPSILON__=0x1P-7HR",
"__FLT_HAS_QUIET_NAN__=1",
"__FLT_MAX_10_EXP__=38",
"__LONG_MAX__=2147483647L",
"__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL",
"__FLT_HAS_INFINITY__=1",
"__USA_FBIT__=16",
"__UINT_FAST16_TYPE__=unsigned int",
"__DEC64_MAX__=9.999999999999999E384DD",
"__CHAR16_TYPE__=short unsigned int",
"__PRAGMA_REDEFINE_EXTNAME=1",
"__INT_LEAST16_MAX__=32767",
"__DEC64_MANT_DIG__=16",
"__UINT_LEAST32_MAX__=4294967295UL",
"__SACCUM_FBIT__=7",
"__GCC_ATOMIC_LONG_LOCK_FREE=1",
"__INT_LEAST64_TYPE__=long long int",
"__INT16_TYPE__=short int",
"__INT_LEAST8_TYPE__=signed char",
"__SQ_FBIT__=31",
"__DEC32_MAX_EXP__=97",
"__ARM_ARCH_ISA_THUMB=1",
"__INT_FAST8_MAX__=2147483647",
"__ARM_ARCH=4",
"__INTPTR_MAX__=2147483647",
"__QQ_FBIT__=7",
"__UTA_IBIT__=64",
"__EXCEPTIONS=1",
"__LDBL_MANT_DIG__=53",
"__SFRACT_FBIT__=7",
"__SACCUM_MIN__=(-0X1P7HK-0X1P7HK)",
"__DBL_HAS_QUIET_NAN__=1",
"__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)",
"__INTPTR_TYPE__=int",
"__UINT16_TYPE__=short unsigned int",
"__WCHAR_TYPE__=unsigned int",
"__SIZEOF_FLOAT__=4",
"__USQ_FBIT__=32",
"__UINTPTR_MAX__=4294967295U",
"__DEC64_MIN_EXP__=(-382)",
"__INT_FAST64_MAX__=9223372036854775807LL",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1",
"__FLT_DIG__=6",
"__UINT_FAST64_TYPE__=long long unsigned int",
"__INT_MAX__=2147483647",
"__LACCUM_FBIT__=31",
"__USACCUM_MIN__=0.0UHK",
"__UHA_IBIT__=8",
"__INT64_TYPE__=long long int",
"__FLT_MAX_EXP__=128",
"__UTQ_IBIT__=0",
"__DBL_MANT_DIG__=53",
"__INT_LEAST64_MAX__=9223372036854775807LL",
"__DEC64_MIN__=1E-383DD",
"__WINT_TYPE__=unsigned int",
"__UINT_LEAST32_TYPE__=long unsigned int",
"__SIZEOF_SHORT__=2",
"__ULLFRACT_IBIT__=0",
"__LDBL_MIN_EXP__=(-1021)",
"__arm__=1",
"__UDA_IBIT__=32",
"__INT_LEAST8_MAX__=127",
"__LFRACT_FBIT__=31",
"__WCHAR_UNSIGNED__=1",
"__LDBL_MAX_10_EXP__=308",
"__ATOMIC_RELAXED=0",
"__DBL_EPSILON__=double(2.2204460492503131e-16L)",
"__UINT8_C(c)=c",
"__INT_LEAST32_TYPE__=long int",
"__SIZEOF_WCHAR_T__=4",
"__UINT64_TYPE__=long long unsigned int",
"__LLFRACT_MAX__=0X7FFFFFFFFFFFFFFFP-63LLR",
"__TQ_FBIT__=127",
"__INT_FAST8_TYPE__=int",
"__ULLACCUM_EPSILON__=0x1P-32ULLK",
"__UHQ_IBIT__=0",
"__LLACCUM_IBIT__=32",
"__DBL_DECIMAL_DIG__=17",
"__DEC_EVAL_METHOD__=2",
"__TA_FBIT__=63",
"__UDQ_IBIT__=0",
"__ORDER_BIG_ENDIAN__=4321",
"__ACCUM_EPSILON__=0x1P-15K",
"__UINT32_C(c)=c ## UL",
"__INTMAX_MAX__=9223372036854775807LL",
"__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__",
"__FLT_DENORM_MIN__=1.4012984643248171e-45F",
"__LLFRACT_IBIT__=0",
"__INT8_MAX__=127",
"__UINT_FAST32_TYPE__=unsigned int",
"__CHAR32_TYPE__=long unsigned int",
"__FLT_MAX__=3.4028234663852886e+38F",
"__USACCUM_FBIT__=8",
"__INT32_TYPE__=long int",
"__SIZEOF_DOUBLE__=8",
"__UFRACT_EPSILON__=0x1P-16UR",
"__INTMAX_TYPE__=long long int",
"__DEC128_MAX_EXP__=6145",
"__ATOMIC_CONSUME=1",
"__GNUC_MINOR__=8",
"__UINTMAX_MAX__=18446744073709551615ULL",
"__DEC32_MANT_DIG__=7",
"__HA_FBIT__=7",
"__DBL_MAX_10_EXP__=308",
"__LDBL_DENORM_MIN__=4.9406564584124654e-324L",
"__INT16_C(c)=c",
"__STDC__=1",
"__ARM_ARCH_4T__=1",
"__PTRDIFF_TYPE__=int",
"__LLFRACT_MIN__=(-0.5LLR-0.5LLR)",
"__ATOMIC_SEQ_CST=5",
"__DA_FBIT__=31",
"__UINT32_TYPE__=long unsigned int",
"__UINTPTR_TYPE__=unsigned int",
"__USA_IBIT__=16",
"__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD",
"__ARM_EABI__=1",
"__DEC128_MANT_DIG__=34",
"__LDBL_MIN_10_EXP__=(-307)",
"__SIZEOF_LONG_LONG__=8",
"__ULACCUM_EPSILON__=0x1P-32ULK",
"__SACCUM_IBIT__=8",
"__GCC_ATOMIC_LLONG_LOCK_FREE=1",
"__LDBL_DIG__=15",
"__FLT_DECIMAL_DIG__=9",
"__UINT_FAST16_MAX__=4294967295U",
"__GNUC_GNU_INLINE__=1",
"__GCC_ATOMIC_SHORT_LOCK_FREE=1",
"__ULLFRACT_MAX__=0XFFFFFFFFFFFFFFFFP-64ULLR",
"__UINT_FAST8_TYPE__=unsigned int",
"__USFRACT_EPSILON__=0x1P-8UHR",
"__ULACCUM_FBIT__=32",
"__QQ_IBIT__=0",
"__ATOMIC_ACQ_REL=4",
"__ATOMIC_RELEASE=3",
"USBCON"
]
}
]
}
请帮帮忙!我相信这是很简单的事情。
更新2月15日----------------------------------我的桌面仍然有这个问题。我已经把我的分机减少到只有两个:
Arduino(微软)和C/C ++(微软)
只有这两个扩展,我的台式机仍然不能"找到所有引用",而我的笔记本电脑可以。
现在我已经完成了5次vscode的全新安装,但仍然没有"查找所有引用"。我在两台计算机上都获得了悬停信息,但笔记本电脑提供了更详细的悬停信息。当我打开Workspace调试日志记录时,我在桌面上只得到了这一行:
cpptools/查找所有参考:C:\用户\道格\文档\Arduino\布线专用测试\布线专用测试. ino
在笔记本电脑上,我得到了几百行镜像c_cpp_properties. json内容的代码
1条答案
按热度按时间koaltpgm1#
我在这个问题上并没有得到太多的关注,然而,我离开了几个月,当我回来的时候,我已经很长时间没有使用我的桌面了,一切都正常了,也许是代码更新。