diff --git a/optional/install-vscode.cmd b/optional/install-vscode.cmd index edf0c5b..b2d24c9 100644 --- a/optional/install-vscode.cmd +++ b/optional/install-vscode.cmd @@ -37,7 +37,7 @@ echo removing VScode startmenu folder ... rd /S /Q %STARTMENU%\"Visual Studio Code" 2>nul echo adding VScode MARKDOWNTABLE plugin ... -"%ProgramFiles%\Microsoft VS Code\bin\code" --install-extension %MARKDOWNTABLE% +"%ProgramFiles%\Microsoft VS Code\bin\code" --install-extension %MARKDOWNTABLE% --force echo ####### %0 ####### diff --git a/scripts/config/vscode-settings.json b/scripts/config/vscode-settings.json new file mode 100644 index 0000000..a584081 --- /dev/null +++ b/scripts/config/vscode-settings.json @@ -0,0 +1,9 @@ +{ + "update.mode": "none", + "enableTelemetry": false, + "workbench.enableExperiments": false, + "extensions.autoUpdate": false, + "workbench.startupEditor": "newUntitledFile", + "extensions.ignoreRecommendations": true +} + diff --git a/tools/logon.cmd b/tools/logon.cmd index 36bd5ad..f97b244 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -193,6 +193,10 @@ set LOCALSTATE="%LOCALAPPDATA%"\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe mkdir %LOCALSTATE% 1>nul 2>nul copy /Y %TOOLS%\scripts\config\wt-settings.json %LOCALSTATE%\settings.json 1>nul 2>nul +echo Setting up VS-Code ... +mkdir "%USERPROFILE%"\AppData\Roaming\Code\User 1>nul 2>nul +copy /Y %TOOLS%\scripts\config\vscode-settings.json "%USERPROFILE%"\AppData\Roaming\Code\User\settings.json 1>nul 2>nul + echo disabling RUFUS autoupdate ... reg add "HKCU\SOFTWARE\Akeo Consulting\Rufus" /v UpdateCheckInterval ^ /t REG_DWORD /d "0xffffffff" /f 1>nul