visual_studio_code
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual_studio_code [2018/08/28 03:52] – [Settings] stephen | visual_studio_code [2026/01/10 23:13] (current) – stephen | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| <code js> | <code js> | ||
| { | { | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| " | " | ||
| - | " | + | |
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | // Custom settings: => | ||
| } | } | ||
| + | </ | ||
| + | ==== Project Settings ==== | ||
| + | |||
| + | - Settings cog -> Settings. | ||
| + | - Workspace Settings. | ||
| + | - 'Edit in settings.json' | ||
| + | |||
| + | <code javascript> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | <code javascript> | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | //" | ||
| + | } | ||
| </ | </ | ||
| ===== Keyboard Shortcuts ===== | ===== 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 ==== | ||
| <code js> | <code js> | ||
| // Place your key bindings in this file to overwrite the defaults | // Place your key bindings in this file to overwrite the defaults | ||
| [ | [ | ||
| - | | + | { |
| - | " | + | " |
| - | " | + | " |
| - | }, | + | }, |
| - | { | + | { |
| - | " | + | " |
| - | " | + | " |
| - | } | + | " |
| - | ] | + | }, |
| - | </ | + | { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | // This conflicts with switching to the Source Control panel, so get rid of it. | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | // TabFocusMode is a pain in the ass, so make sure it doesn' | ||
| + | // This would be good to map to something else. | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | ]</ | ||
| ===== Extensions ===== | ===== Extensions ===== | ||
| - | | Align | steve8708.align | | + | | <del>Align</ |
| + | | Cursor Align | yo1dog.cursor-align | | ||
| | AutoHotkey | slevesque.vscode-autohotkey | | | AutoHotkey | slevesque.vscode-autohotkey | | ||
| | Bookmarks | alefragnani.bookmarks | | | Bookmarks | alefragnani.bookmarks | | ||
| | C# | ms-vscode.csharp | | | C# | ms-vscode.csharp | | ||
| | Code Spell Checker | streetsidesoftware.code-spell-checker | | | Code Spell Checker | streetsidesoftware.code-spell-checker | | ||
| + | | Git History | donjayamanne.githistory | | ||
| | Markdown All in One | yzhang.markdown-all-in-one | | | Markdown All in One | yzhang.markdown-all-in-one | | ||
| | Markdown PDF | yzane.markdown-pdf | | | Markdown PDF | yzane.markdown-pdf | | ||
| Line 43: | Line 153: | ||
| | Prettify JSON | mohsen1.prettify-json | | | Prettify JSON | mohsen1.prettify-json | | ||
| | Razor+ | austincummings.razor-plus | | | Razor+ | austincummings.razor-plus | | ||
| - | | SQL Server (mssql) | ms-mssql.mssql | | + | | <del>SQL Server (mssql)</ |
| - | | Visual Studio Team Services | ms-vsts.team | | + | | <del>Visual Studio Team Services</ |
| - | | vscode-icons | robertohuertasm.vscode-icons | | + | | <del>vscode-icons</ |
| | XML Tools | dotjoshjohnson.xml | | | XML Tools | dotjoshjohnson.xml | | ||
| + | | Version Lens | pflannery.vscode-versionlens | | ||
| + | | 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: | ||
| + | // same ids are connected. | ||
| + | // Example: | ||
| + | // "Print to console": | ||
| + | // " | ||
| + | // " | ||
| + | // " | ||
| + | // " | ||
| + | // ], | ||
| + | // " | ||
| + | // } | ||
| + | |||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
visual_studio_code.1535428345.txt.gz · Last modified: 2018/08/29 04:52 (external edit)
