1、安装Remote -ssh插件 2、配置免密登录 先在window下生成公钥: ssh-keygen -t rsa 再在linux下生成公钥 ssh-keygen -t rsa 在linux生成公钥的目录下,创建authorized_keys文件,并写入windows下生成的公钥 Vscode在Linux下导入头文件警告 这是因为在配置中没有指定依赖路径导致的,在c_cpp_properties.json文件中in...
"command":"g++","args":["-g","${workspaceRoot}/${fileBasenameNoExtension}.cpp","-o","${fileBasenameNoExtension}.out"],//要编译的文件mian_test.cpp,${workspaceRoot}表示vscode所打开的工作目录"problemMatcher":
"command":"g++","args":["-g","${workspaceRoot}/${fileBasenameNoExtension}.cpp","-o","${fileBasenameNoExtension}.out"],//要编译的文件mian_test.cpp,${workspaceRoot}表示vscode所打开的工作目录"problemMatcher":