vscode 仿clion函数带参数名
时间: 2023-11-10 12:54:51 浏览: 171
在VSCode中,你可以使用C/C++的插件来实现类似CLion的函数带参数名的功能。首先,确保你已经安装了C/C++插件。然后,按照以下步骤进行配置:
1. 打开VSCode的设置(File -> Preferences -> Settings)。
2. 在搜索框中输入"C_Cpp.Default: Intelli Sense Mode",选择"macos-gcc-x64"作为IntelliSense模式。
3. 在搜索框中输入"C_Cpp.Default: C Standard",选择"gnu17"作为C语言标准。
4. 在搜索框中输入"C_Cpp.Default: C++ Standard",选择"c++11"作为C++语言标准。
5. 在搜索框中输入"C_Cpp.Default: Compiler Path",设置编译器路径为你所使用的编译器的路径(例如:"/usr/bin/clang")。
6. 在搜索框中输入"C_Cpp.default.includePath",将"${workspaceFolder}/**"添加到include路径中。
这样,你就可以在VSCode中使用函数带参数名的功能了。
阅读全文
相关推荐














