User Tools

Site Tools


visual_studio_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual_studio_code [2021/09/21 22:36] – [Customs] stephenvisual_studio_code [2026/01/10 23:13] (current) stephen
Line 11: Line 11:
     "diffEditor.renderSideBySide": true,     "diffEditor.renderSideBySide": true,
     "diffEditor.ignoreTrimWhitespace": false,     "diffEditor.ignoreTrimWhitespace": false,
-    "editor.fontFamily": "'FuraCode Nerd Font', 'Fira Code', Consolas, 'Courier New', monospace",+    "editor.fontFamily": "'FiraCode Nerd Font', 'Fira Code', Consolas, 'Courier New', monospace",
     "editor.fontLigatures": true,     "editor.fontLigatures": true,
     "editor.fontSize": 12,     "editor.fontSize": 12,
     "editor.renderWhitespace": "all",     "editor.renderWhitespace": "all",
     "editor.showFoldingControls": "always",     "editor.showFoldingControls": "always",
 +    "editor.bracketPairColorization.enabled": true,
     "emmet.includeLanguages": {     "emmet.includeLanguages": {
         "razor": "html",         "razor": "html",
         "aspnetcorerazor": "html"         "aspnetcorerazor": "html"
     },     },
-    "vsicons.dontShowNewVersionMessage": true+    "powershell.promptToUpdatePowerShell": false
-    "window.zoomLevel": 0,+    "security.workspace.trust.untrustedFiles": "open", 
 +    "terminal.integrated.profiles.windows":
 +        "PowerShell 7": { 
 +            "path": "pwsh.exe" 
 +        } 
 +    }, 
 +    "terminal.integrated.defaultProfile.windows": "PowerShell 7", 
 +    "terminal.integrated.fontSize": 12, 
 +    "workbench.editor.pinnedTabSizing": "shrink", 
 +    "workbench.editor.pinnedTabsOnSeparateRow": true,
     "workbench.tree.indent": 14,     "workbench.tree.indent": 14,
         "files.associations": {         "files.associations": {
Line 28: Line 38:
     },     },
     "workbench.colorCustomizations": {     "workbench.colorCustomizations": {
-        "tab.lastPinnedBorder": "#ffffff44"+        "tab.lastPinnedBorder": "#ffffff88", 
 +        "tab.activeBorderTop": "#ff0000"
     },     },
-    "workbench.editor.pinnedTabSizing": "shrink",  
     // Custom settings: =>     // Custom settings: =>
 } }
 </code> </code>
- 
 ==== Project Settings ==== ==== Project Settings ====
  
Line 41: Line 50:
   - 'Edit in settings.json' or {} (top left).   - 'Edit in settings.json' or {} (top left).
  
-<code js>+<code javascript>
 { {
-    "workbench.colorCustomizations":+ "workbench.colorCustomizations":
-        //"statusBar.background": "#00aa00" // Online store + "statusBar.background": "#00aaaa" // Stuff 
-        //"statusBar.background": "#aa0000" // SDP + //"statusBar.background": "#0000aa" // Dev 
-        //"statusBar.background": "#0000aa" // Bin + //"statusBar.background": "#aa0000" // (Spare) 
-        //"statusBar.background": "#00aaaa" // Bookmarks + //"statusBar.background": "#aa00aa" // (Spare) 
-        //"statusBar.background": "#aa00aa" // Buckets of funds + //"statusBar.background": "#aaaa00" // (Spare) 
-        //"statusBar.background": "#aaaa00" // (Spare) + //"statusBar.background": "#00aa00" // (Spare) 
-    }+ }
 } }
 </code> </code>
Line 56: Line 65:
 or or
  
-<code js+<code javascript
-"settings":+ "settings":
- "workbench.colorTheme": "Solarized Dark", + "workbench.colorTheme": "Solarized Dark", 
- "workbench.colorCustomizations":+ "workbench.colorCustomizations":
- "statusBar.foreground": "#fff",+ "statusBar.foreground": "#fff",
  
- //"statusBar.background": "#00aa00" // Bookmarks + //"statusBar.background": "#00aa00" // (Spare) 
- //"statusBar.background": "#aa0000" // Local + //"statusBar.background": "#aa0000" // (Spare) 
- //"statusBar.background": "#0000aa" // Stage + //"statusBar.background": "#0000aa" // Bookmarks / Bin 
- //"statusBar.background": "#00aaaa" // Regression + //"statusBar.background": "#00aaaa" // Local Repo 
- //"statusBar.background": "#aa00aa" // Sit + //"statusBar.background": "#aa00aa" // (Spare) 
- //"statusBar.background": "#aaaa00" // OAT + //"statusBar.background": "#aaaa00" // (Spare) 
- } + }
-}+
 </code> </code>
  
Line 91: Line 99:
 // Place your key bindings in this file to overwrite the defaults // Place your key bindings in this file to overwrite the defaults
 [ [
-    +
-        "key": "ctrl+shift+f4", + "key": "ctrl+shift+f4", 
-        "command": "workbench.action.closeOtherEditors" + "command": "workbench.action.closeOtherEditors" 
-    }, + }, 
-    +
-        "key": "ctrl+shift+alt+k", + "key": "ctrl+shift+alt+k", 
-        "command": "bookmarks.toggleLabeled", + "command": "bookmarks.toggleLabeled", 
-        "when": "editorTextFocus" + "when": "editorTextFocus" 
-    }, + }, 
-    +
-        "key": "alt+down", + "key": "alt+down", 
-        "command": "workbench.action.terminal.focusNext", + "command": "workbench.action.terminal.focusNext", 
-        "when": "terminalFocus" + "when": "terminalFocus" 
-    }, + }, 
-    +
-        "key": "alt+up", + "key": "alt+up", 
-        "command": "workbench.action.terminal.focusPrevious", + "command": "workbench.action.terminal.focusPrevious", 
-        "when": "terminalFocus" + "when": "terminalFocus" 
-    }, + }, 
-    +
-        "key": "ctrl+shift+i", + "key": "ctrl+m ctrl+p", 
-        "command": "editor.emmet.action.wrapWithAbbreviation", + "command": "workbench.files.action.collapseExplorerFolders" 
-        "when": "editorTextFocus+ }
-    }, +
-    + "key": "ctrl+alt+c", 
-        "key": "ctrl+m ctrl+p", + "command": "git.checkout
-        "command": "workbench.files.action.collapseExplorerFolders+ }, 
-    }, +
-    + // This conflicts with switching to the Source Control panel, so get rid of it. 
-        "key": "ctrl+alt+c", + "key": "ctrl+shift+g", 
-        "command": "git.checkout+ "command": "-editor.action.announceCursorPosition
-    }+ }, 
 +
 + // TabFocusMode is a pain in the ass, so make sure it doesn't get toggled accidentally. 
 + // This would be good to map to something else. 
 + "key": "ctrl+m", 
 + "command": "-editor.action.toggleTabFocusMode
 + },
 ]</code> ]</code>
  
Line 145: Line 159:
 | Version Lens | pflannery.vscode-versionlens | | Version Lens | pflannery.vscode-versionlens |
 | Bracket Pair Colorizer 2 | coenraads.bracket-pair-colorizer-2 | | Bracket Pair Colorizer 2 | coenraads.bracket-pair-colorizer-2 |
 +
 +===== Snippets =====
 +
 +==== SQL ====
 +
 +<code javascript>
 +{
 + // Place your snippets for sql here. Each snippet is defined under a snippet name and has a prefix, body and 
 + // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
 + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
 + // same ids are connected.
 + // Example:
 + // "Print to console": {
 + // "prefix": "log",
 + // "body": [
 + // "console.log('$1');",
 + // "$2"
 + // ],
 + // "description": "Log output to console"
 + // }
 +
 + "Select Top": {
 + "prefix": "ssf",
 + "body": [
 + "SELECT TOP 1000 * FROM $0"
 + ],
 + "description": "Select top 1000 rows from a table"
 + }
 +}
 +</code>
 +
  
visual_studio_code.1632263816.txt.gz · Last modified: 2021/09/22 23:36 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki