正文
增加 241 行删除 7 行
12345678910111213141516175 行未改动23242526272829308 行未改动394041424344454647484950515253## Step1 解控### Step1.1 下载[Link](https://1857169381.share.123pan.cn/123pan/iOnKvd-x9jm3)### Step1.2 使用如图所示,呼出窗口后,选择【取消永远最上】,设置宽为【1920】、高为【1040】,然后隐藏到托盘。控屏后,Alt+N 即可。## Step2 解放 Windows 键右键 Windows 菜单,点击【运行 (R)】。输入 `regedit` 然后回车。5 行未改动红圈位置会有一个多出的文件,删掉。## Step3 释放内存在 Windows 菜单中搜索【控制面板】,回车。8 行未改动## Step4 配置环境### Step4.1 Visual Studio Code下载:[link](https://1857169381.share.123pan.cn/123pan/iOnKvd-M2Sm3)一路确定即可。注意过程中要勾选【创建桌面快捷方式】。### Step4.2 Microsoft Edge下载:[Link](https://1857169381.share.123pan.cn/123pan/iOnKvd-uaim3)怎么搞应该不用多说。12345678910111213141516175 行未改动232425262728293031328 行未改动4142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287## Step1 解控### Step1.1 下载[Link](https://seather.lanzouw.com/ieQBH3ze5aoh)【密码:`7hkb`】### Step1.2 使用如图所示,呼出窗口后,选择【取消永远最上】,设置宽为【1920】、高为【1040】,然后隐藏到托盘。控屏后,Alt+S 然后 Alt+N 即可。## Step2 解放 Windows 键右键 Windows 菜单,点击【运行 (R)】。输入 `regedit` 然后回车。5 行未改动红圈位置会有一个多出的文件,删掉。然后注销电脑即可。## Step3 释放内存在 Windows 菜单中搜索【控制面板】,回车。8 行未改动## Step4 配置环境### Step4.1 Visual Studio Code下载:[link](https://code.visualstudio.com/sha/download?build=stable&os=win32-x64-user)一路确定安装到 C 盘即可。注意过程中要勾选【创建桌面快捷方式】。- C/C++- Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code- Code Runner- CPH-NG- Error Lens- Markdown All in One- Markdown PDF- Microsoft Edge Tools for VS Code- 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","yzhang.markdown-all-in-one","yzane.markdown-pdf","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","yzhang.markdown-all-in-one","yzane.markdown-pdf","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 NOI Linux}$]```bashCODE_CMD="code"if ! command -v "$CODE_CMD" &> /dev/null; thenif [ -x "/usr/share/code/bin/code" ]; thenCODE_CMD="/usr/share/code/bin/code"elseecho "未找到 code 命令,请确认 VS Code 已安装并加入 PATH。"exit 1fifiplugins=("formulahendry.code-runner""langningchen.cph-ng""usernamehw.errorlens""yzhang.markdown-all-in-one""yzane.markdown-pdf""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")for p in "${plugins[@]}"; do"$CODE_CMD" --install-extension "$p" --forcedone```::::setting.json(Ctrl+Shift+P `Open User Settings (JSON)`)::::info[$\text{settings for yz}$]```json{"workbench.startupEditor": "none","editor.mouseWheelZoom": true,"workbench.editor.empty.hint": "hidden","C_Cpp.default.compilerPath": "C:/mingw64/bin/g++.exe","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,"code-runner.runInTerminal": true,"zipViewer.previewLineCount": 1000,"workbench.editorAssociations": {"*.md": "default","*.html": "workbench.editor.browser","*.zip": "zipViewer.viewer","*.pdf": "pdf.preview"},"markdown-pdf.executablePath": "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe","markdown-pdf.displayHeaderFooter": false,"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"}}```::::::::info[$\text{settings for yzyl}$]```json{"terminal.integrated.enableMultiLinePasteWarning": "never","workbench.startupEditor": "none","editor.mouseWheelZoom": true,"workbench.editor.empty.hint": "hidden","C_Cpp.default.compilerPath": "D:/mingw64/bin/g++.exe","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,"code-runner.runInTerminal": true,"zipViewer.previewLineCount": 1000,"workbench.editorAssociations": {"*.md": "default","*.html": "workbench.editor.browser","*.zip": "zipViewer.viewer","*.pdf": "pdf.preview"},"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"}}```::::::::info[$\text{settings for NOI Linux}$]```json{"workbench.startupEditor": "none","editor.mouseWheelZoom": true,"workbench.editor.empty.hint": "hidden","C_Cpp.default.compilerPath": "/usr/bin/g++","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,"code-runner.runInTerminal": true,"zipViewer.previewLineCount": 1000,"workbench.editorAssociations": {"*.md": "default","*.html": "workbench.editor.browser","*.zip": "zipViewer.viewer","*.pdf": "pdf.preview"},"markdown-pdf.executablePath": "/usr/bin/microsoft-edge","markdown-pdf.displayHeaderFooter": false,"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"}}```::::