What key shortcuts are to comment and uncomment code?

前端 未结 7 1654
借酒劲吻你
借酒劲吻你 2020-12-07 13:01

There were Ctrl+E+C (comment) and Ctrl+E+U (uncomment) in older versions, or Ctrl+K+<

相关标签:
7条回答
  • 2020-12-07 13:40

    This is how I did it,

    Menu ToolsOptions on the EnvironmentKeyboard window

    One can alter the default shortcuts following the below steps

    • Select Edit.CommentSelection in the listbox
    • Click on "Remove" button
    • Select "Text Editor" option in the dropdown under "Use new shortcut in:"
    • Press your own shortcut in the textbox under "Press shortcut keys:" Example: Pressing Ctrl+E and then C will give you Ctrl+E, C
    • Click on "Assign" button
    • Repeat the same for Edit.UnCommentSelection (Ctrl+E, U)
    0 讨论(0)
提交回复
热议问题