How to assign Visual Studio shortcut cut for ghostdoc

Source: Internet
Author: User

Normally the specified cut of ghostdoc will be automatically (popup to the end user) enabled when starting the Visual Studio after the installation. however, sometimes you may reset default ghostdoc shortcut cut in Visual Studio or want to assign your own shortm custom cut.

 

Here is how you do that:

  1. In Visual Studio goTools-> options, Then selectEnvironment-> keyboard
  2. Filter commands by "ghostdoc" inShow commands containingText Box
  3. SelectTools. submain. ghostdoc. documentthisIn the list
  4. Select "Text Editor" inUse new shortcut inDrop down
  5. Choose the hotkey you want to invokeDocumentthisCommand (CTRL + Shift + D in this example)
  6. PressAssignAndOKTo close the dialog and save. You are all set.

While you are in the Options dialog You may want also assign shortcut to another less known but very useful ghostdoc command Rebuild documentation . This command will rebuild your existing XML comment using the changed signature information. Be careful with this command though-it will reset your custom edited XML comment . In the example below we assigned command Rebuilddocumentation To sequence Ctrl + Shift + D, CTRL + Shift + R

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.