{"componentChunkName":"component---src-templates-post-template-js","path":"/note-visualstudio-keybind-en","result":{"data":{"markdownRemark":{"id":"3dfebbfa-fc08-5298-b5f5-80c39ecb5a77","html":"<blockquote>\n<p>This page has been machine-translated from the <a href=\"/note-visualstudio-keybind\">original page</a>.</p>\n</blockquote>\n<p>When developing in both Visual Studio and VSCode, the differences in keybindings can sometimes be stressful.</p>\n<p>I do most of my development in VSCode, so I wanted to make Visual Studio’s keybindings match VSCode somehow.</p>\n<h2 id=\"how-to-change-visual-studio-keybindings\" style=\"position:relative;\"><a href=\"#how-to-change-visual-studio-keybindings\" aria-label=\"how to change visual studio keybindings permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to change Visual Studio keybindings</h2>\n<p>First, open [Tools] > [Options] from the navigation bar at the top.</p>\n<p>Next, open [Environment] > [Keyboard] from the tab on the left.</p>\n<p>Here, you can assign any shortcut key to an operation.</p>\n<p>If you want to use the same keybindings as standard VSCode in Visual Studio, select [Visual Studio Code] in the [Apply the following additional keyboard mapping scheme] setting.</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 779px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/6f940378ae704d7b68ba42bc3d1062cf/96e92/image-63.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 58.333333333333336%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAACd0lEQVQoz3VSy27TQBT193XZZelD6q+ABELs4AO6YQNSmzh9qA9UigRqmxQq1XESv1I/Yre24ziOHddOnMOdCQuQ6MhHdzQ65865Zyzs7e2BQRRF1Ot11Go1DlGs46AhYp/QoD3DfmNZG/UaryLxmW53dxeHh4dYWVmBAFrTPEdRlPh7pVkOw/FhP0Z4iFK4YQLdecQwLZEUC8R5hayoSFcgSRKu2d7ehmBZNno9BYOBC9f1MIwiBIGPX7KK48s2Ljs2moqHOzvmkN0EHW8C2UshWwHu7/vodDqIohE2NjYglGUJwzDoljHyfIqnpycMhyFUvQ9NUeG5LqbpBPPZ7I/3BX0LvovGE8TjMSaTCaqqWjbMaDRJkmE7LrmLEY3G3KliknPTREjk51ZC2qKcYT6fcyNray8gDKMEt7dtqJoJzwvhDHx4fojbiyZ23n3Cx/c17Hw4wOtaF6+OTbw5tfH2ywAvjx18brmYlwV/g9lsjvX1dQhVNaeRdWrm8ZGn0wwZETxZhnF2hv75V2hUu3cSxWCgf29y6EYflm3DpjdQVRVxHGNzcxMCs6trGhEMnkWWZUip2nTBz3Ybd4oCg3I0LRMq7XvdLjRNhUVx2NRQI21basP3/WWGLOybmxtouk7upkjTlDd1iCxTQyZ8oOZsAuaC/SKMk1NmbK+Tjr1yGIZLhyzMVqsFmUaMRiNOjuMxHMfhxC45YpWh1+tBIZcKVU3t0WQqDF3jZ0EQLB0u6BcIwyFvwkZmDVlltzNHz6HvhlCsB1heQKNbXLe1tQVBkiRcX19zl81m8x+ws/+hSTg6/47GyQXOvv3A6ekJrq6usLq6it//ZFH0hzpuBgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <picture>\n          <source\n              srcset=\"/static/6f940378ae704d7b68ba42bc3d1062cf/8ac56/image-63.webp 240w,\n/static/6f940378ae704d7b68ba42bc3d1062cf/d3be9/image-63.webp 480w,\n/static/6f940378ae704d7b68ba42bc3d1062cf/82ce4/image-63.webp 779w\"\n              sizes=\"(max-width: 779px) 100vw, 779px\"\n              type=\"image/webp\"\n            />\n          <source\n            srcset=\"/static/6f940378ae704d7b68ba42bc3d1062cf/8ff5a/image-63.png 240w,\n/static/6f940378ae704d7b68ba42bc3d1062cf/e85cb/image-63.png 480w,\n/static/6f940378ae704d7b68ba42bc3d1062cf/96e92/image-63.png 779w\"\n            sizes=\"(max-width: 779px) 100vw, 779px\"\n            type=\"image/png\"\n          />\n          <img\n            class=\"gatsby-resp-image-image\"\n            src=\"/static/6f940378ae704d7b68ba42bc3d1062cf/96e92/image-63.png\"\n            alt=\"image-63.png\"\n            title=\"image-63.png\"\n            loading=\"lazy\"\n            style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n          />\n        </picture>\n  </a>\n    </span></p>\n<p>Reference: <a href=\"https://docs.microsoft.com/en-us/visualstudio/ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio?view=vs-2022\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Identify and customize keyboard shortcuts - Visual Studio (Windows) | Microsoft Docs</a></p>\n<h2 id=\"how-to-make-vscode-keybindings-match-visual-studio-defaults\" style=\"position:relative;\"><a href=\"#how-to-make-vscode-keybindings-match-visual-studio-defaults\" aria-label=\"how to make vscode keybindings match visual studio defaults permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to make VSCode keybindings match Visual Studio defaults</h2>\n<p>You can make VSCode’s keybindings match Visual Studio by installing the following extension maintained by Microsoft.</p>\n<p>Reference: <a href=\"https://github.com/microsoft/vscode-vs-keybindings\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Visual Studio Keymap for Visual Studio Code</a></p>\n<p>There are also extensions for setting keybindings compatible with several other editors, such as Atom and SublimeText.</p>\n<p>Reference: <a href=\"https://github.com/search?q=org%3Amicrosoft+keybindings\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Search · org:microsoft keybindings</a></p>\n<h2 id=\"summary\" style=\"position:relative;\"><a href=\"#summary\" aria-label=\"summary permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Summary</h2>\n<p>Now developing in Visual Studio feels stress-free as well.</p>","fields":{"slug":"/note-visualstudio-keybind-en","tagSlugs":["/tag/visual-studio/","/tag/vs-code/","/tag/keybind/","/tag/english/"]},"frontmatter":{"date":"2021-12-19","description":"","tags":["Visual Studio","VSCode","Keybind","English"],"title":"Make Visual Studio's Keybindings Match VSCode for a Stress-Free Workflow","socialImage":{"publicURL":"/static/3176e47ab2a5b33ed86d741de956e83d/note-visualstudio-keybind.png"}}}},"pageContext":{"slug":"/note-visualstudio-keybind-en"}},"staticQueryHashes":["251939775","401334301","825871152"]}