"Visual Studio programmers motto" notes

Just remember seeing a senior job with the shortcut keys Visual Studio, amazed, I did not realize shortcuts skilled efficiency can be so high. Later, I add a shortcut to a frequently used commands when they find Visual Studio shortcut is too much, because I can think of a convenient combination of keys are already assigned to the command already.

During this busy time, I read it "Visual Studio programmers motto" , while reading a note while dozens of tips, tricks and some really solve the problems of my long, too praised. 

  1. Disable copy and cut blank line: [Tools] [Options] [Text Editor] [All languages] [conventional], uncheck the "application of blank lines cut or copy command when no selection"
  2. Cycle clipboard (up to 20): Ctrl + Shift + V
  3. Insert a row above: Ctrl + Enter
  4. Below insert a line: Ctrl + Shift + Enter
  5. Select current word: Ctrl + W
  6. Delete the next word (delete to the end): Ctrl + Delete
  7. Delete a word (deleting to the beginning): Ctrl + Backspace
  8. The current line: Ctrl + L
  9. Delete the current line: Ctrl + Shift + L or Shift + Delete (the premise is not selected any text, or Shift + Delete to delete only the selected text)
  10. Move or copy block: left drag movement code code; press Ctrl and copy the code to the target location; right drag block can select the "Move Here" or "Copy Here"
  11. Exchange character position, move a cursor: Ctrl + T
  12. Exchange position word, the word behind the exchange: Ctrl + Shift + T
  13. Exchange line location: Alt + Shift + T
  14. Move the cursor to the top of the current view: Ctrl + PgUp
  15. Move the cursor to the bottom of the current view: Ctrl + PgDn
  16. Scroll bar is hidden: [Tools] [Options] [text editor] [conventional], in the "Show" next, you can uncheck the "vertical scroll bar" and "horizontal scroll bar."
  17. Forward positioning: Ctrl + Shift + -
  18. Backward positioning: Ctrl + -
  19. Undo command to locate backward: [Tools] [Options] [text editor] [conventional], check the "moving in the revocation list includes the insertion point."
  20. Access navigation bar: Ctrl + F2
  21. View visible blank: [Edit] [Senior] [blank] View; Ctrl + R, Ctrl + W
  22. Printing: When printing select "Hide folding area" and "include line numbers" can [File] [Print]; if you need to print custom font, then the [Tools] [Options] [environment] [font and color] in select "printer", and then change; [file] in the [page Setup in the file path can print to the header.
  23. Selecting text block: Shift + Alt + direction key, Alt + mouse drag, the input content after the selected area, while all the lines are entered
  24. Add a comment: Ctrl + K, Ctrl + C
  25. Cancel Notes: Ctrl + K, Ctrl + U
  26. Dividing line: \ Text Editor to add a string value in the name Guides HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ (version number), the value of the format: RBG (r, b, g) n1, n2, n3, n13
  27. Format the document: Ctrl + K, Ctrl + F
  28. Tabs or spaces: [Tools] [Options] [Text Editor] [language] [Tab], "Insert spaces" or "Keep Tabs"; [Edit] [Senior] [the selected row replace spaces or tabs] [tab will replace the selected row is blank]
  29. Folding and unfolding the current code segment: Ctrl + M, Ctrl + M
  30. Folding and unfolding the entire document: Ctrl + M, Ctrl + L
  31. Folding and unfolding folded defined: Ctrl + M, Ctrl + O
  32. Removed using unused: Editor right-click menu using [organization] [removed using unused]
  33. Add, delete bookmarks: Ctrl + K, Ctrl + K
  34. Jump to the next bookmark: Ctrl + K, Ctrl + N
  35. Jump to a bookmark: Ctrl + K, Ctrl + P
  36. Delete all bookmarks: Ctrl + K, Ctrl + L
  37. Insert snippet: Ctrl + K, Ctrl + X; input keywords (such as for), and then double-click Tab
  38. Add the code snippet: [Tools] [snippet manager] [Add]
  39. Incremental search: Ctrl + I
  40. Search current word: selected or the cursor is in the current word, then Ctrl + F3
  41. IDE Navigator: Ctrl + Tab
  42. Re-docked tool window: Double-click the tool window title bar
  43. Navigator tool window: Alt + F7
  44. Full screen: Shift + Alt + Enter, the tool does not operate in full-screen window
  45. External program execution command window: shell exterior layer sequence; such as: shell ping 192.168.1.1, as well as external program parameters can be output in the command window is displayed or output window
  46. Create a command alias: alias name new original command
  47. During the generation stop displaying the output window: [Tools] [Options] [] [Projects and Solutions General], check the "Output window displays at the start of production."
  48. And code block toolkit: code can drag and drop to the toolbox can also drag and drop from the toolbox to the editor
  49. Task List: Notes to TODO (or other, can be customized) begins
  50. Object Browser: Ctrl + Alt + J
  51. Create "throw-throw" of the project: [Tools] [Options] [] [Projects and Solutions General], uncheck the "Save new projects when created" checkbox
  52. Tracking point: it can be used to record the value of variable
  53. Toggle Breakpoint: F9
  54. Enable or disable breakpoints: Ctrl + F9
  55. Set conditional breakpoints: breakpoint right-click menu [condition]
  56. Delete all breakpoints: Ctrl + Shift + F9
  57. Multiple Startup Projects: Solutions Common Properties Properties [] [] [multi-project start to start the project]
  58. Let IntelliSense clear: hold down the Ctrl key
 
Good text to the top

Just remember seeing a senior job with the shortcut keys Visual Studio, amazed, I did not realize shortcuts skilled efficiency can be so high. Later, I add a shortcut to a frequently used commands when they find Visual Studio shortcut is too much, because I can think of a convenient combination of keys are already assigned to the command already.

During this busy time, I read it "Visual Studio programmers motto" , while reading a note while dozens of tips, tricks and some really solve the problems of my long, too praised. 

  1. Disable copy and cut blank line: [Tools] [Options] [Text Editor] [All languages] [conventional], uncheck the "application of blank lines cut or copy command when no selection"
  2. Cycle clipboard (up to 20): Ctrl + Shift + V
  3. Insert a row above: Ctrl + Enter
  4. Below insert a line: Ctrl + Shift + Enter
  5. Select current word: Ctrl + W
  6. Delete the next word (delete to the end): Ctrl + Delete
  7. Delete a word (deleting to the beginning): Ctrl + Backspace
  8. The current line: Ctrl + L
  9. Delete the current line: Ctrl + Shift + L or Shift + Delete (the premise is not selected any text, or Shift + Delete to delete only the selected text)
  10. Move or copy block: left drag movement code code; press Ctrl and copy the code to the target location; right drag block can select the "Move Here" or "Copy Here"
  11. Exchange character position, move a cursor: Ctrl + T
  12. Exchange position word, the word behind the exchange: Ctrl + Shift + T
  13. Exchange line location: Alt + Shift + T
  14. Move the cursor to the top of the current view: Ctrl + PgUp
  15. Move the cursor to the bottom of the current view: Ctrl + PgDn
  16. Scroll bar is hidden: [Tools] [Options] [text editor] [conventional], in the "Show" next, you can uncheck the "vertical scroll bar" and "horizontal scroll bar."
  17. Forward positioning: Ctrl + Shift + -
  18. Backward positioning: Ctrl + -
  19. Undo command to locate backward: [Tools] [Options] [text editor] [conventional], check the "moving in the revocation list includes the insertion point."
  20. Access navigation bar: Ctrl + F2
  21. View visible blank: [Edit] [Senior] [blank] View; Ctrl + R, Ctrl + W
  22. Printing: When printing select "Hide folding area" and "include line numbers" can [File] [Print]; if you need to print custom font, then the [Tools] [Options] [environment] [font and color] in select "printer", and then change; [file] in the [page Setup in the file path can print to the header.
  23. Selecting text block: Shift + Alt + direction key, Alt + mouse drag, the input content after the selected area, while all the lines are entered
  24. Add a comment: Ctrl + K, Ctrl + C
  25. Cancel Notes: Ctrl + K, Ctrl + U
  26. Dividing line: \ Text Editor to add a string value in the name Guides HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ (version number), the value of the format: RBG (r, b, g) n1, n2, n3, n13
  27. Format the document: Ctrl + K, Ctrl + F
  28. Tabs or spaces: [Tools] [Options] [Text Editor] [language] [Tab], "Insert spaces" or "Keep Tabs"; [Edit] [Senior] [the selected row replace spaces or tabs] [tab will replace the selected row is blank]
  29. Folding and unfolding the current code segment: Ctrl + M, Ctrl + M
  30. Folding and unfolding the entire document: Ctrl + M, Ctrl + L
  31. Folding and unfolding folded defined: Ctrl + M, Ctrl + O
  32. Removed using unused: Editor right-click menu using [organization] [removed using unused]
  33. Add, delete bookmarks: Ctrl + K, Ctrl + K
  34. Jump to the next bookmark: Ctrl + K, Ctrl + N
  35. Jump to a bookmark: Ctrl + K, Ctrl + P
  36. Delete all bookmarks: Ctrl + K, Ctrl + L
  37. Insert snippet: Ctrl + K, Ctrl + X; input keywords (such as for), and then double-click Tab
  38. Add the code snippet: [Tools] [snippet manager] [Add]
  39. Incremental search: Ctrl + I
  40. Search current word: selected or the cursor is in the current word, then Ctrl + F3
  41. IDE Navigator: Ctrl + Tab
  42. Re-docked tool window: Double-click the tool window title bar
  43. Navigator tool window: Alt + F7
  44. Full screen: Shift + Alt + Enter, the tool does not operate in full-screen window
  45. External program execution command window: shell exterior layer sequence; such as: shell ping 192.168.1.1, as well as external program parameters can be output in the command window is displayed or output window
  46. Create a command alias: alias name new original command
  47. During the generation stop displaying the output window: [Tools] [Options] [] [Projects and Solutions General], check the "Output window displays at the start of production."
  48. And code block toolkit: code can drag and drop to the toolbox can also drag and drop from the toolbox to the editor
  49. Task List: Notes to TODO (or other, can be customized) begins
  50. Object Browser: Ctrl + Alt + J
  51. Create "throw-throw" of the project: [Tools] [Options] [] [Projects and Solutions General], uncheck the "Save new projects when created" checkbox
  52. Tracking point: it can be used to record the value of variable
  53. Toggle Breakpoint: F9
  54. Enable or disable breakpoints: Ctrl + F9
  55. Set conditional breakpoints: breakpoint right-click menu [condition]
  56. Delete all breakpoints: Ctrl + Shift + F9
  57. Multiple Startup Projects: Solutions Common Properties Properties [] [] [multi-project start to start the project]
  58. Let IntelliSense clear: hold down the Ctrl key

Guess you like

Origin www.cnblogs.com/itgezhu/p/11804283.html