[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-348347-105":59,"doc-detail-348347-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","visual-studio-keyboard-shortcuts-code-editing","Visual Studio - Keyboard shortcuts - Code editing","","A comprehensive reference of Visual Studio keyboard shortcuts focused on code editing, navigation, refactoring, debugging, multi-caret editing, projects and solutions, file management, and Git and unit testing workflows. The content lists common key combinations and their actions, including word completion, line movement, commenting toggles, formatting and cleanup commands, search/replace operations, definition navigation, breakpoints, stepping controls, caret insertion, layout switching, and commit/test execution shortcuts, enabling faster productivity during development.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/visual-studio-keyboard-shortcuts-code-editing/348347/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/visual-studio-keyboard-shortcuts-code-editing/348347.png","ImageObject",300,407,{"name":92,"@type":93},"Hazel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",17,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Which shortcuts help with editing words and lines in Visual Studio?","Question",{"text":113,"@type":114},"The document lists combinations like Ctrl+Space for complete word, Alt+↑/↓ to move lines, Ctrl+D to duplicate a line, and Ctrl+Enter / Ctrl+Shift+Enter to insert lines below or above.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do I navigate code quickly using shortcuts?",{"text":118,"@type":114},"Use Ctrl+T for code search, Ctrl+G to go to line, F12 for go to definition, Alt+F12 for peek definition, Ctrl+F12 for implementation, and Shift+F12 to find all references.",{"name":120,"@type":111,"acceptedAnswer":121},"What shortcuts are provided for refactoring and code formatting?",{"text":122,"@type":114},"Refactoring includes Ctrl+R+M to extract method, Ctrl+R+I to extract interface, Ctrl+R+R to rename, and Ctrl+R+G to remove and sort usings. Formatting and cleanup include Ctrl+K+D for format document, Ctrl+K+F for format selection, and Ctrl+K+E for code cleanup.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},348347,1790436190,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":8,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":81,"preview_page_count":8,"preview_urls":145},137441390410,"https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984","Visual Studio  \nKeyboard shortcuts  \nCode editing  \n\n| Ctrl+ Space | Complete word |\n| --- | --- |\n| Ctrl + Shift + Space | Show signature help |\n| Alt + ↑ / ↓ | Move line up / down |\n| Ctrl + D | Duplicate line |\n| Ctrl + Shift + L | Delete line |\n| Ctrl + Enter | Insert line below |\n| Ctrl + Shift + Enter | Insert line above |\n| Ctrl + ↑ / ↓ | Scroll line up / down |\n| Ctrl + PgUp / PgDn | Scroll page up / down |\n| Shift + mouse wheel | Scroll page horizontally |\n| Ctrl + / | Toggle line comment |\n| Ctrl + Shift + / | Toggle block comment |\n| Ctrl + K + D | Format document |\n| Ctrl + K + F | Format selection |\n| Alt + / | Ask Copilot (inline chat) |\n| Ctrl + E + W | Toggle word wrap |\n| Ctrl + R + W | Toggle view whitespace |\n| Shift + Alt + L + S | Sort lines |\n| Shift + Alt + L + J | Join lines |\n| Search and replace |  |\n| Ctrl + F | Find |\n| Ctrl + H | Replace |\n| Ctrl + Shift + F | Find in files |\n| Ctrl + Shift + H | Replace in files |\n| F8 / Shift F8 | Go to next / previous error |\n| Refactoring |  |\n| Ctrl + . or Alt + Enter | Show quick actions |\n| Ctrl + R + M | Extract method |\n| Ctrl + R + I | Extract interface |\n| Ctrl + R + R | Rename |\n| Ctrl + R + G | Remove and sort usings |\n| Ctrl + K + E | Code cleanup |\n| Ctrl + K + S | Surround with (if, try, etc.) |\n| Shift + Alt + L + S | Sort lines |\n| Shift + Alt + L + J | Join lines |\n\nNavigation  \n\n| Ctrl + Q or Ctrl + Shift + P Feature search |  |\n| --- | --- |\n| Ctrl + T | Code search |\n| Ctrl + G | Go to line |\n| F8 / Shift + F8 | Go to next / prev error |\n| F12 | Go to definition |\n| Alt + F12 | Peek definition |\n| Ctrl + F12 | Go to implementation |\n| Shift + F12 | Find all references |\n| Alt + Home | Go to base class |\n| Ctrl + - / Ctrl + Shift- | Navigate backward / forward |\n| Ctrl + Shift + backspace | Go to last edit location |\n| Ctrl + Shift + ↑ / ↓ | Go to next / prev reference |\n| Ctrl + K + K | Toggle bookmark |\n| Ctrl + K + N/P | Go to next / prev bookmark |\n| Ctrl + K + L | Clear all bookmarks |\n| Debugging |  |\n| F5 | Start/continue debugging |\n| Shift + F5 | Stop debugging |\n| Ctrl + F5 | Start without debugging |\n| F9 | Toggle breakpoint |\n| Ctrl + Shift + F9 | Clear all breakpoints |\n| F10 | Step over |\n| F11 | Step into |\n| Shift + F11 | Step out |\n| Ctrl + Alt + P | Attach to process   |\n| Shift + Alt + P | Reattach to process |\n| Alt + F2 | Launch profiler |\n| Shift + Alt + F2 Relaunch profiler\u003Cbr>Multi caret and selection |  |\n| Ctrl + Alt + mouse click | Insert caret |\n| Shift + Alt + . | Insert next matching caret |\n| Shift + Alt + ; | Insert all matching carets |\n| Shift + Alt + , | Remove last caret |\n| Shift + Alt + / | Move last caret down |\n| Shift +Alt + ↑ / ↓ | Column (box) selection |\n| Alt + drag mouse | Column (box) selection |\n| Shift + Alt = / -\u003Cbr>Projects and solutions | Expand / collapse selection |\n| Ctrl + Shift + N | New project |\n| Ctrl + Shift + O | Open project |\n| Ctrl + B | Build selection |\n\nCtrl + Shift + B Build solution  \n\n| Ctrl + Shift + A | Add new item |\n| --- | --- |\n| Shift + Alt + A | Add existing item |\n| Shift + F2 | Quick add item |\n| Alt + Enter\u003Cbr>File management | Properties |\n| Ctrl + N | New file |\n| Ctrl + O | Open file |\n| Ctrl + Shift + S, | Save all |\n| Ctrl + Alt + PgUp / PgDn | Go to document on left / right |\n| Ctrl + F4 | Close tab |\n| Ctrl + K + Z | Restore closed tabs |\n| Ctrl + [ + S | Reveal active file in Explorer |\n| Ctrl + TAB | Cycle through tabs |\n| F7 / Shift + F7 | Toggle designer and code view |\n| F4\u003Cbr>Windows and display | Properties |\n| Shift + Alt + Enter | Toggle full screen |\n| Ctrl + dblclick on window | Toggle last dock/float location |\n| Ctrl + Alt + 1-9 | Switch saved window layout |\n| Shift + ESC | Close active tool window |\n| Ctrl + Alt + L | Activate Solution Explorer |\n| Ctrl + \\ + C | Activate GitHub Copilot Chat |\n| Ctrl + \\ + E | Activate Error List |\n| Ctrl + Alt + O | Activate Output window |\n| ESC | Set focus on editor |\n| Git |  |\n| Alt + G + C | Git Changes","cbCaivvfcJ8nZqgC","https://ap.wps.com/l/cbCaivvfcJ8nZqgC","pdf",111904,"English","# Keyboard shortcuts\n## Code editing\n## Navigation\n## Refactoring\n## Debugging\n## Multi caret and selection\n## Projects and solutions\n## File management\n## Git and unit testing","[{\"question\":\"Which shortcuts help with editing words and lines in Visual Studio?\",\"answer\":\"The document lists combinations like Ctrl+Space for complete word, Alt+↑/↓ to move lines, Ctrl+D to duplicate a line, and Ctrl+Enter / Ctrl+Shift+Enter to insert lines below or above.\"},{\"question\":\"How do I navigate code quickly using shortcuts?\",\"answer\":\"Use Ctrl+T for code search, Ctrl+G to go to line, F12 for go to definition, Alt+F12 for peek definition, Ctrl+F12 for implementation, and Shift+F12 to find all references.\"},{\"question\":\"What shortcuts are provided for refactoring and code formatting?\",\"answer\":\"Refactoring includes Ctrl+R+M to extract method, Ctrl+R+I to extract interface, Ctrl+R+R to rename, and Ctrl+R+G to remove and sort usings. Formatting and cleanup include Ctrl+K+D for format document, Ctrl+K+F for format selection, and Ctrl+K+E for code cleanup.\"}]","Visual Studio - Keyboard shortcuts - Code editing | PDF",1790072536,[146],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3a909ff7eafce0d4c4eec009cee9d98f.webp",983,759]