Last active
January 4, 2022 15:50
-
-
Save HurtzDonut/5b46b99873488f14bba522e7663a68b6 to your computer and use it in GitHub Desktop.
Settings for VS Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Place your settings in this file to overwrite the default settings | |
{ | |
//#region Editor | |
//#region Cursor | |
// Cursor blink type | |
"editor.cursorBlinking": "expand", | |
// Cursor appearance | |
"editor.cursorStyle": "line-thin", | |
// Modifier key for adding multiple cursor entries | |
"editor.multiCursorModifier": "ctrlCmd", | |
//#endregion Cursor | |
//#region Font | |
// Font family to use | |
// Office Code Pro : https://www.fontsquirrel.com/fonts/office-code-pro | |
// Link works as of 11/5/2018 1000 | |
"editor.fontFamily": "'Anonymous Pro', monospace", | |
// Font Size | |
"editor.fontSize": 15, | |
//#endregion Font | |
//#region Brackets | |
// Colorization | |
"editor.bracketPairColorization.enabled": true, | |
//#endregion Brackets | |
//#endregion Editor | |
//#region Workbench | |
// If opening empty workspace, start with New Untitled File | |
"workbench.startupEditor": "newUntitledFile", | |
// Controls where new editors open | |
"workbench.editor.openPositioning": "last", | |
// Bracket Color Customizations | |
"workbench.colorCustomizations": { | |
// Shandy | |
// https://encycolorpedia.com/ffe670 | |
"editorBracketHighlight.foreground1": "#FFE670", | |
// Orchid | |
// https://encycolorpedia.com/da70d6 | |
"editorBracketHighlight.foreground2": "#DA70D6", | |
// Light Sky Blue | |
// https://encycolorpedia.com/87cefa | |
"editorBracketHighlight.foreground3": "#87CEFA", | |
// Pastel Green | |
// https://encycolorpedia.com/77dd77 | |
"editorBracketHighlight.foreground4": "#77DD77", | |
// Chrome Yellow | |
// https://encycolorpedia.com/ffaa1d | |
"editorBracketHighlight.foreground5": "#FFA700", | |
// Bone | |
// https://encycolorpedia.com/e3dac9 | |
"editorBracketHighlight.foreground6": "#E3DAC9", | |
// Lust | |
// https://encycolorpedia.com/e62020 | |
"editorBracketHighlight.unexpectedBracket.foreground": "#E62020", | |
}, | |
//#endregion Workbench | |
//#region Window | |
// Menu bar is always visible, even in Full Screen mode | |
"window.menuBarVisibility": "visible", | |
// Custom Window title | |
"window.title": "${dirty}${activeEditorMedium}${separator}${rootName}", | |
// Do not retore any open windows | |
"window.restoreWindows": "none", | |
//#endregion Window | |
//#region Files | |
// Configured Default language for new Files | |
"files.defaultLanguage": "powershell", | |
// Configure HTML files to open as HTML, not Django-HTML | |
"files.associations": { | |
"**/templates/*.html": "html", | |
"*.html": "html" | |
}, | |
// Auto-Save every 5 Minutes (300,000ms) | |
"files.autoSave": "afterDelay", | |
"files.autoSaveDelay": 300000, | |
// Exclude files from the file watcher | |
"files.watcherExclude": { | |
"**/*.pdf": true, | |
"**/NewVMRequest/Private/bin/Session*": true | |
}, | |
//#endregion Files | |
//#region Explorer | |
// Controls whether explorer should ask for permission when deleting files via Trash | |
"explorer.confirmDelete": false, | |
//#endregion Explorer | |
//#region Terminal | |
//#region Integrated | |
// Working directory | |
"terminal.integrated.cwd": "C:\\AdminScripts", | |
// Default | |
"terminal.integrated.profiles.windows": { | |
"PWSH": { | |
"path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"args": ["-NoProfile", "-NoExit","-NoLogo","-MTA"] | |
} | |
}, | |
"terminal.integrated.defaultProfile.windows": "PWSH", | |
//#endregion | |
//#endregion Terminal | |
//#region GIT | |
// Hide error if Git is Missing | |
"git.ignoreMissingGitWarning": true, | |
// Do not confirm with running git sync | |
"git.confirmSync": false, | |
// Periodically run git fetch | |
"git.autofetch": true, | |
//#endregion GIT | |
//#region PowerShell | |
// Hide Integrated Console on Startup | |
"powershell.integratedConsole.showOnStartup": false, | |
/* 'OTBS' >> 'One True Brace Style' | |
e.g. ForEach ($i in $e) { | |
# Code | |
} */ | |
"powershell.codeFormatting.preset": "OTBS", | |
/* Will reformat one-liners in code | |
e.g. | |
If (..) {..} Else {..} | |
|| BECOMES || | |
VV VV | |
If (..){ | |
.. | |
} Else { | |
.. | |
} */ | |
"powershell.codeFormatting.ignoreOneLineBlock": false, | |
// Fix object member colorization (broken with update 1.26) | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": "variable.other.member", | |
"settings": { | |
"foreground": "#DCDCAA" | |
} | |
}, | |
] | |
}, | |
"editor.suggestSelection": "first", | |
"workbench.colorTheme": "monokai no-italic", | |
"xmlTools.enforcePrettySelfClosingTagOnFormat": true, | |
"xmlTools.splitAttributesOnFormat": true, | |
"powershell.codeFormatting.autoCorrectAliases": true, | |
"powershell.codeFormatting.useCorrectCasing": true, | |
"powershell.integratedConsole.suppressStartupBanner": true, | |
"window.zoomLevel": 0, | |
"powershell.promptToUpdatePowerShell": false, | |
"python.languageServer": "Microsoft", | |
"editor.detectIndentation": false, | |
"powershell.codeFormatting.trimWhitespaceAroundPipe": true, | |
"powershell.codeFormatting.whitespaceBetweenParameters": true, | |
"settingsSync.ignoredExtensions": [ | |
"ms-python.vscode-pylance", | |
"ms-python.python", | |
"rpinski.shebang-snippets", | |
"timonwong.shellcheck", | |
"remisa.shellman", | |
"rogalmic.bash-debug", | |
"lizebang.bash-extension-pack", | |
"mads-hartmann.bash-ide-vscode", | |
"ms-toolsai.jupyter-renderers", | |
"ms-toolsai.jupyter-keymap", | |
"ms-toolsai.jupyter" | |
], | |
"workbench.editor.untitled.labelFormat": "name" | |
// Use PowerShell x86 (32-bit) | |
// "powershell.useX86Host": true | |
//#endregion PowerShell | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment