User Tools

Site Tools


visual_studio_code

Visual Studio Code

Settings

{
    "cSpell.language": "en-GB",
    "cSpell.userWords": [
        "heise"
    ],
    "diffEditor.renderSideBySide": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "editor.fontFamily": "'FiraCode Nerd Font', 'Fira Code', Consolas, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.fontSize": 12,
    "editor.renderWhitespace": "all",
    "editor.showFoldingControls": "always",
    "editor.bracketPairColorization.enabled": true,
    "emmet.includeLanguages": {
        "razor": "html",
        "aspnetcorerazor": "html"
    },
    "powershell.promptToUpdatePowerShell": false,
    "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,
        "files.associations": {
        "*.gpx": "xml",
        "*.umap": "json"
    },
    "workbench.colorCustomizations": {
        "tab.lastPinnedBorder": "#ffffff88",
        "tab.activeBorderTop": "#ff0000"
    },
    // Custom settings: =>
}

Project Settings

  1. Settings cog → Settings.
  2. Workspace Settings.
  3. 'Edit in settings.json' or {} (top left).
{
	"workbench.colorCustomizations": {
		"statusBar.background": "#00aaaa" // Stuff
		//"statusBar.background": "#0000aa" // Dev
		//"statusBar.background": "#aa0000" // (Spare)
		//"statusBar.background": "#aa00aa" // (Spare)
		//"statusBar.background": "#aaaa00" // (Spare)
		//"statusBar.background": "#00aa00" // (Spare)
	}
}

or

	"settings": {
		"workbench.colorTheme": "Solarized Dark",
		"workbench.colorCustomizations": {
			"statusBar.foreground": "#fff",
 
			//"statusBar.background": "#00aa00" // (Spare)
			//"statusBar.background": "#aa0000" // (Spare)
			//"statusBar.background": "#0000aa" // Bookmarks / Bin
			//"statusBar.background": "#00aaaa" // Local Repo
			//"statusBar.background": "#aa00aa" // (Spare)
			//"statusBar.background": "#aaaa00" // (Spare)
		}

Keyboard Shortcuts

Favourites

Ctrl + 0 Focus to Side Bar.
Ctrl + 1 Focus to first editor group.
Ctrl + 2 Focus to second editor group.
Ctrl + B Toggle Side Bar visibility.
Ctrl + Alt + K Toggle Bookmark.
Ctrl + Shift + Alt + K Toggle labeled Bookmark.
Ctrl + ` Toggle Terminal.
Ctrl + K, Z Toggle Zen Mode.
Ctrl + Win + F11 (Visual Studio) Open file in Visual Studio Code.

Customs

// Place your key bindings in this file to overwrite the defaults
[
    {
        "key": "ctrl+shift+f4",
        "command": "workbench.action.closeOtherEditors"
    },
    {
        "key": "ctrl+shift+alt+k",
        "command": "bookmarks.toggleLabeled",
        "when": "editorTextFocus"
    },
    {
        "key": "alt+down",
        "command": "workbench.action.terminal.focusNext",
        "when": "terminalFocus"
    },
    {
        "key": "alt+up",
        "command": "workbench.action.terminal.focusPrevious",
        "when": "terminalFocus"
    },
    {
        "key": "ctrl+shift+i",
        "command": "editor.emmet.action.wrapWithAbbreviation",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+m ctrl+p",
        "command": "workbench.files.action.collapseExplorerFolders"
    },
    {
        "key": "ctrl+alt+c",
        "command": "git.checkout"
    }
]

Extensions

Align steve8708.align
Cursor Align yo1dog.cursor-align
AutoHotkey slevesque.vscode-autohotkey
Bookmarks alefragnani.bookmarks
C# ms-vscode.csharp
Code Spell Checker streetsidesoftware.code-spell-checker
Git History donjayamanne.githistory
Markdown All in One yzhang.markdown-all-in-one
Markdown PDF yzane.markdown-pdf
PowerShell ms-vscode.powershell
Prettify JSON mohsen1.prettify-json
Razor+ austincummings.razor-plus
SQL Server (mssql) ms-mssql.mssql
Visual Studio Team Services ms-vsts.team
vscode-icons robertohuertasm.vscode-icons
XML Tools dotjoshjohnson.xml
Version Lens pflannery.vscode-versionlens
Bracket Pair Colorizer 2 coenraads.bracket-pair-colorizer-2
visual_studio_code.txt · Last modified: 2023/11/02 17:47 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki