正文
增加 49 行删除 19 行
58 行未改动59606162636465666768697071727374757677787980812 行未改动848586878889909192939495969798991001011021031041051061072 行未改动11011111211311411511611711818 行未改动13713813914014114214314412 行未改动15715815916016116216316416510 行未改动1761771781791801811821831841858 行未改动1941951961971981992002012027 行未改动2102112122132142152162172182192207 行未改动22822923023123223323423523610 行未改动24724824925025125225325425525625758 行未改动- One Dark Pro- vscode-pdf- Zip & Archive Viewer- vscode-icons- [GCC](https://winlibs.com/) 【选择 Release versions 中标有 LATEST 的 win64 版本的 zip 包】安装拓展(C++ 和中文请手动)::::info[$\text{bash for yz}$]```bash$newPaths = @("C:\mingw64\bin", "C:\Microsoft VS Code\bin")$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")foreach ($p in $newPaths) {if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {$currentPath += ";$p"}}[Environment]::SetEnvironmentVariable("Path", $currentPath, "Machine")$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine")$plugins = @("formulahendry.code-runner","langningchen.cph-ng","usernamehw.errorlens",2 行未改动"ms-edgedevtools.vscode-edge-devtools","zhuangtongfa.material-theme","tomoki1207.pdf","Takeshi-Fuchi.zip-viewer-fuchi","vscode-icons-team.vscode-icons"); foreach ($p in $plugins) { code --install-extension $p --force }```::::::::info[$\text{bash for yzyl}$]```bash$newPaths = @("D:\mingw64\bin", "D:\Microsoft VS Code\bin")$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")foreach ($p in $newPaths) {if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {$currentPath += ";$p"}}[Environment]::SetEnvironmentVariable("Path", $currentPath, "Machine")$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine")$plugins = @("formulahendry.code-runner","langningchen.cph-ng","usernamehw.errorlens",2 行未改动"ms-edgedevtools.vscode-edge-devtools","zhuangtongfa.material-theme","tomoki1207.pdf","Takeshi-Fuchi.zip-viewer-fuchi","vscode-icons-team.vscode-icons"); foreach ($p in $plugins) { code --install-extension $p --force }```::::18 行未改动"zhuangtongfa.material-theme""tomoki1207.pdf""Takeshi-Fuchi.zip-viewer-fuchi""vscode-icons-team.vscode-icons")for p in "${plugins[@]}"; do"$CODE_CMD" --install-extension "$p" --forcedone12 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -std=c++14 -O2 -static && .\\$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,10 行未改动"workbench.iconTheme": "vscode-icons","terminal.integrated.initialHint": false,"terminal.integrated.enableMultiLinePasteWarning": "never","cph-ng.languages.cppCompiler": "C:/mingw64/bin/g++.exe","cph-ng.languages.cppCompilerArgs": "-O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false}```::::8 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -std=c++14 -O2 -static && .\\$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,7 行未改动},"markdown-pdf.executablePath": "D:\\Microsoft\\Edge\\Application\\msedge.exe","markdown-pdf.displayHeaderFooter": false,"cph-ng.languages.cppCompiler": "D:/mingw64/bin/g++.exe","cph-ng.languages.cppCompilerArgs": "-O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false,"workbench.iconTheme": "vscode-icons"}```::::7 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -std=c++14 -O2 -static && ./$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,10 行未改动"workbench.iconTheme": "vscode-icons","terminal.integrated.initialHint": false,"terminal.integrated.enableMultiLinePasteWarning": "never","cph-ng.languages.cppCompiler": "/usr/bin/g++","cph-ng.languages.cppCompilerArgs": "-O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false}```::::然后请重启 VS Code58 行未改动5960616263646566676869707172737475767778798081822 行未改动8586878889909192939495969798991001011021031041051061071081091102 行未改动11311411511611711811912012112212318 行未改动14214314414514614714814915015112 行未改动16416516616716816917017117210 行未改动1831841851861871881891901911921931941951961971981992008 行未改动2092102112122132142152162177 行未改动2252262272282292302312322332342352362372382392402412422432447 行未改动25225325425525625725825926010 行未改动27127227327427527627727827928028128228328428528628758 行未改动- One Dark Pro- vscode-pdf- Zip & Archive Viewer- vscode-icons- vscode-luogu- [GCC](https://winlibs.com/) 【选择 Release versions 中标有 LATEST 的 win64 版本的 zip 包】安装拓展(C++ 和中文请手动)::::info[$\text{bash for yz}$]```bash$newPaths = @("C:\mingw64\bin", "C:\Microsoft VS Code\bin")$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")foreach ($p in $newPaths) {if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {$currentPath += ";$p"}}[Environment]::SetEnvironmentVariable("Path", $currentPath, "User")$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [Environment]::GetEnvironmentVariable("Path", "User")$plugins = @("formulahendry.code-runner","langningchen.cph-ng","usernamehw.errorlens",2 行未改动"ms-edgedevtools.vscode-edge-devtools","zhuangtongfa.material-theme","tomoki1207.pdf","Takeshi-Fuchi.zip-viewer-fuchi","vscode-icons-team.vscode-icons","shalldie.background","yltx.vscode-luogu"); foreach ($p in $plugins) { code --install-extension $p --force }```::::::::info[$\text{bash for yzyl}$]```bash$newPaths = @("D:\mingw64\bin", "D:\Microsoft VS Code\bin")$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")foreach ($p in $newPaths) {if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {$currentPath += ";$p"}}[Environment]::SetEnvironmentVariable("Path", $currentPath, "User")$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [Environment]::GetEnvironmentVariable("Path", "User")$plugins = @("formulahendry.code-runner","langningchen.cph-ng","usernamehw.errorlens",2 行未改动"ms-edgedevtools.vscode-edge-devtools","zhuangtongfa.material-theme","tomoki1207.pdf","Takeshi-Fuchi.zip-viewer-fuchi","vscode-icons-team.vscode-icons","shalldie.background","yltx.vscode-luogu"); foreach ($p in $plugins) { code --install-extension $p --force }```::::18 行未改动"zhuangtongfa.material-theme""tomoki1207.pdf""Takeshi-Fuchi.zip-viewer-fuchi""vscode-icons-team.vscode-icons""shalldie.background""yltx.vscode-luogu")for p in "${plugins[@]}"; do"$CODE_CMD" --install-extension "$p" --forcedone12 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -Wall -Wno-unused-result -std=c++14 -O2 -static && .\\$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,10 行未改动"workbench.iconTheme": "vscode-icons","terminal.integrated.initialHint": false,"terminal.integrated.enableMultiLinePasteWarning": "never","cph-ng.languages.cppCompiler": "C:/mingw64/bin/g++.exe","cph-ng.languages.cppCompilerArgs": "-Wall -Wno-unused-result -O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false,"editor.minimap.enabled": false,"background.enabled": true,"background.fullscreen": {"images": ["file:///C:/picture.png"],"opacity": 0.1,"size": "cover","position": "center"}}```::::8 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -Wall -Wno-unused-result -std=c++14 -O2 -static && .\\$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,7 行未改动},"markdown-pdf.executablePath": "D:\\Microsoft\\Edge\\Application\\msedge.exe","markdown-pdf.displayHeaderFooter": false,"cph-ng.languages.cppCompiler": "D:/mingw64/bin/g++.exe","cph-ng.languages.cppCompilerArgs": "-Wall -Wno-unused-result -O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false,"workbench.iconTheme": "vscode-icons","terminal.integrated.initialHint": false,"editor.minimap.enabled": false,"background.enabled": true,"background.fullscreen": {"images": ["file:///D:/pictures/picture.png"],"opacity": 0.1,"size": "cover","position": "center"}}```::::7 行未改动"debug.onTaskErrors": "debugAnyway","explorer.confirmDelete": false,"workbench.colorTheme": "One Dark Pro","code-runner.executorMap": {"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -Wall -Wno-unused-result -std=c++14 -O2 -static && ./$fileNameWithoutExt"},"code-runner.saveFileBeforeRun": true,"code-runner.fileDirectoryAsCwd": false,"code-runner.ignoreSelection": true,10 行未改动"workbench.iconTheme": "vscode-icons","terminal.integrated.initialHint": false,"terminal.integrated.enableMultiLinePasteWarning": "never","cph-ng.languages.cppCompiler": "/usr/bin/g++","cph-ng.languages.cppCompilerArgs": "-Wall -Wno-unused-result -O2 -std=c++14 -static","cph-ng.sidebar.showOobe": false,"editor.minimap.enabled": false,"background.enabled": true,"background.fullscreen": {"images": ["file:///home/oier/pictures/picture.png"],"opacity": 0.1,"size": "cover","position": "center"}}```::::