VScode安装配置python,c/c++

发布时间:2026/6/26 10:05:08
VScode安装配置python,c/c++ 记录一下一定在官网下载但我的浏览器进官网怎么这么慢呢配置中文点重新启动接下来下载python插件和c/c插件特慢特慢特慢建议找好心up给现成的你给人家一键三联呗要不就镜像其实镜像也不快当然会魔法就…俺是windows俺选的这个安插件喽解压设置python和c/c文件夹用jupyter编辑器建立一个.ipynb的文件自动找解释器python可以了运行的时候要安装个包安。然后c/c这个比较麻烦弄一天nnd自己建的.vscode,然后自己配置的c_cpp_properties.json{configurations:[{name:c,includePath:[${workspaceFolder}/**],defines:[_DEBUG,_UNICODE,_UNICODE],windowsSdkVersion:10.0.18362.0,compilerPath:D:/mingw64/bin/g.exe,cStandard:c11,cppStandard:c11,intelliSenseMode:windows-gcc-x64},{name:c,includePath:[${workspaceFolder}/**],defines:[_DEBUG,_UNICODE,_UNICODE],windowsSdkVersion:10.0.18362.0,compilerPath:D:/mingw64/bin/gcc.exe,cStandard:c11,cppStandard:c11,intelliSenseMode:windows-gcc-x64}],version:4}launch.json{version:0.2.0,configurations:[{name:c gdb,type:cppdbg,request:launch,program:${fileDirname}\\${fileBasenameNoExtension}.exe,args:[],stopAtEntry:false,cwd:${workspaceRoot},environment:[],externalConsole:false,MIMode:gdb,miDebuggerPath:D:\\mingw64\\bin\\gdb.exe,preLaunchTask:g,setupCommands:[{description:Enable pretty-printing for gdb,text:-enable-pretty-printing,ignoreFailures:true}],},{name:c gdb,type:cppdbg,request:launch,program:${fileDirname}\\${fileBasenameNoExtension}.exe,args:[],stopAtEntry:false,cwd:${workspaceRoot},environment:[],externalConsole:false,MIMode:gdb,miDebuggerPath:D:\\mingw64\\bin\\gdb.exe,preLaunchTask:gcc,setupCommands:[{description:Enable pretty-printing for gdb,text:-enable-pretty-printing,ignoreFailures:true}]}]}settings.json{files. associations:{dot. py:python,dot. iostream:cpp,dot. tcc:cpp,string:cpp,unordered _ map:cpp,vector:cpp,ostream:cpp,new:cpp,typeinfo:cpp,deque:cpp,initializer _ list:cpp,iosfwd:cpp,fstream:cpp,sstream:cpp,map:cpp,stdio. h:c,algorithm:cpp,atomic:cpp,bit:cpp,cctype:cpp,clocale:cpp,cmath:cpp,compare:cpp,concepts:cpp,constexpr:cpp,cstdint:cpp,cstdio:cpp,cstdlib:cpp,cstring:cpp,time:cpp,wchar:cpp,exception:cpp,ios:cpp,istream:cpp,iterator:cpp,limits:cpp,memory:cpp,random:cpp,set:cpp,stack:cpp,stdexcept:cpp,streambuf:cpp,system _ error:cpp,tuple:cpp,type traits:cpp,utility:cpp,xfacet:cpp,xiesbase:cpp,xlocale:cpp,xlocinfo:cpp,xlocnum:cpp,xmemory:cpp,xstddef:cpp,xstring:cpp,xtriccommon:cpp,xtree:cpp,xutility:cpp,stdlib.h:c,string.h:c},editor.suggest.snippetsPreventQuickSuggestions:false,aICoder.showTrayIcon:true}tasks.json{version:2.0.0,tasks:[{label:g,command:D:\\mingw64\\bin\\g.exe,args:[-g,-fexec-charsetGBK,${file},-o,${fileDirname}\\${fileBasenameNoExtension}.exe],problemMatcher:{owner:cpp,fileLocation:[relative,${workspaceRoot}],pattern:{regexp:^(.*):(\\d):(\\d):\\s(warning|error)\\s(.*)$,file:1,line:2,column:3,severity:4,message:5}},group:build},{label:gcc,command:D:\\ming64\\bin\\gcc.exe,args:[-g,-fexec-charsetGBK,${file},-o,${fileDirname}\\${fileBasenameNoExtension}.exe],problemMatcher:{owner:c,fileLocation:[relative,${workspaceRoot}],pattern:{regexp:^(.*):(\\d):(\\d):\\s(warning|error):\\s(.*)$,file:1,line:2,column:3,severity:4,message:5}},group:build},{type:cppbuild,label:/C: gcc.exe生成活动文件,command:D:/mingw64/bin/gcc.exe,args:[-fdiagnostics-coloralways,-g,-fexec-charsetGBK,${file},-o,${fileDirname}\\${fileBasenameNoExtension}.exe],options:{cwd:D:/mingw64/bin},problemMatcher:[$gcc],group:{kind:test,isDefault:true},detail:调试器生成的任务.}]}遇到的问题乱码找DS给解决了。