Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 19

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 20

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 21

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 22

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 23
vscode下无法进行函数自动补全 - Hello World

vscode下无法进行函数自动补全

清歌
2022-10-26 / 0 评论 / 0 阅读 / 正在检测是否收录...

在vscode下找到.vscode-->c_cpp_xxx.json
找到

  "cppStandard": "c++14"

改为

  "cppStandard": "c++17"

若是修改之后还是无法补全,可以尝试:

1.重启scode
2.检查安装的插件(我是多安装了一个个人开发的CMake)
3.在cpp_xxx.json文件中添加"home/(用户名)/(demo名)/src/(包名)/devel/include"
"home/xin/hello/src/pub_sub/devel/include",
"home/xin/hello/devel/include",

请输入图片描述

0

评论 (0)

取消