Skip to content

Instantly share code, notes, and snippets.

@Jaykul
Last active May 15, 2020 02:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaykul/2db80d430f1c80b4318f71e5192e11b4 to your computer and use it in GitHub Desktop.
Save Jaykul/2db80d430f1c80b4318f71e5192e11b4 to your computer and use it in GitHub Desktop.
Not auto synced anymore, but here's my actual User\settings.json
{
//******** Settings everyone should use ***********//
// Everyone should keep files git friendly
"files.encoding": "utf8",
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
// Everyone should format PowerShell my way ;)
"files.defaultLanguage": "powershell",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.ignoreOneLineBlock": false,
"powershell.codeFormatting.newLineAfterCloseBrace": false,
// Most people should use powerShell in the terminal
"terminal.integrated.shell.linux": "pwsh",
"terminal.integrated.shellArgs.linux": [],
"terminal.integrated.shell.osx": "pwsh",
"terminal.integrated.shellArgs.osx": [],
"terminal.integrated.shell.windows": "pwsh.exe",
"terminal.integrated.setLocaleVariables": true,
"terminal.external.windowsExec": "pwsh.exe",
// Your right-click will do _something_
// - default: Show a context menu.
// - copyPaste: Copy when there is a selection, otherwise paste.
// - selectWord: Select the word under the cursor and show the context menu.
"terminal.integrated.rightClickBehavior": "selectWord",
// Obviously you should use the latest PTY on Windows
"terminal.integrated.windowsEnableConpty": true,
"terminal.integrated.rendererType": "auto",
//******** Personal Preferences ***********//
"bracket-pair-colorizer-2.colors": [
"#D0D1CF",
"#39D900",
"#e23de2",
"#CE9600",
"#0088FF"
],
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "punctuation.definition.comment.block.begin",
"settings": { "fontStyle": "bold" }
},
{
"scope": "punctuation.definition.comment.block.end",
"settings": { "fontStyle": "bold" }
},
{
"scope": "variable.other.member",
"settings": { "foreground": "#E3E" }
},
{
"scope": "variable.other.member.method",
"settings": { "foreground": "#FF0000" }
},
{
"scope": "punctuation.definition.variable.powershell",
"settings": { "foreground": "#DAD" }
},
]
},
"workbench.colorTheme": "Andromeda",
"workbench.colorCustomizations": {
// Andromeda has awful highlighting (especially in the sidebar, or in comments)
"editor.findMatchHighlightBackground": "#000000",
"editor.selectionBackground": "#666666",
"minimap.background": "#22242735",
// "terminal.background": "#22212b", // The background of the Integrated Terminal's viewport.
// "terminal.border": "", // The color of the border that separates split panes within the terminal. This defaults to panel.border.
// "terminal.foreground": "#caf4ff", // The default foreground color of the Integrated Terminal.
"terminal.ansiBlack": "#39373B",
"terminal.ansiRed": "#C61554",
"terminal.ansiGreen": "#00A900",
"terminal.ansiYellow": "#926c02",
"terminal.ansiBlue": "#0054C0",
"terminal.ansiMagenta": "#88298b",
"terminal.ansiCyan": "#0d7280",
"terminal.ansiBrightBlack": "#444749",
"terminal.ansiBrightWhite": "#eaebe8",
"terminal.ansiBrightRed": "#FE628C",
"terminal.ansiBrightGreen": "#39D900",
"terminal.ansiBrightYellow": "#FEC600",
"terminal.ansiBrightBlue": "#0088FF",
"terminal.ansiBrightMagenta": "#FB94FF",
"terminal.ansiBrightCyan": "#80FCFF",
"terminal.ansiWhite": "#798085",
//"terminal.selectionBackground": "", // The selection background color of the terminal.
//"terminalCursor.background": "", // The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.
//"terminalCursor.foreground": "", // The foreground color of the terminal cursor.
},
// I can't figure out which VSCode is which without this
"window.titleBarStyle": "custom",
"window.title": "${rootName}${separator}${activeEditorShort}${dirty}${separator}${appName}",
// Personally, I want all files in the existing window (for speed)
"window.openFilesInNewWindow": "off",
// Personally, I want hot exit for everything
"window.restoreWindows": "all",
"files.hotExit": "onExitAndWindowClose",
// Who needs menus? As long as they show up when I press Alt ...
"window.menuBarVisibility": "toggle",
"window.zoomLevel": 0,
"breadcrumbs.enabled": true,
// Personally, I like wordwrap (especially for ARM templates)
"editor.wordWrap": "on",
"editor.wrappingIndent": "indent",
// Personally, I like ALL my editors this way:
"editor.rulers": [80,120],
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.renderWhitespace": "boundary",
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.mouseWheelZoom": true,
"editor.minimap.enabled": true,
"editor.minimap.size": "fit",
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
// I love font ligatures
"editor.fontFamily": "'CaskaydiaCove Nerd Font', 'CaskaydiaCove Nerd Font Mono', 'Cascadia Code PL', 'Cascadia Code', 'FuraCode NF Retina', 'FuraCode NF', 'Iosevka NF', 'Fira Code', Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
// With a few exceptions
"[powershell]": {
// make it select the $ in PowerShell variables
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
},
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.wordBasedSuggestions": false
},
"[xml]": {
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
"[yaml]": {
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
"[azure-pipelines]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.autoIndent": "full"
},
"files.associations": {
"*.ps1xml": "xml",
"*.audit": "xml"
},
"diffEditor.ignoreTrimWhitespace": true,
// I like the sidebar on the right
"workbench.sideBar.location": "right",
// Stop asking me if I'm sure ...
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
// I'm still not sure where I think snippets should go
"editor.snippetSuggestions": "bottom",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment