Interact with Copilot

This unit explores ways that you can maximize your interaction with GitHub Copilot in your development environment. By understanding the service’s features and capabilities, you learn how to use it effectively.

The following sections describe the various ways to trigger and use GitHub Copilot, along with examples and shortcuts to help you get the most out of it.

Inline suggestions

Inline suggestions are the most immediate form of assistance in Copilot. As you type, Copilot analyzes your code and context to offer real-time code completions. This feature predicts what you might want to write next and displays suggestions in a subtle, unobtrusive way.

The suggestions that Copilot offers appear as grayed-out text ahead of your cursor.

  • To accept a suggestion, select the Tab key or the > (right arrow) key.
  • To reject a suggestion, keep typing or select the Esc key.

Inline suggestions are especially useful when you’re working on repetitive tasks or you need quick boilerplate code.

ibm lotus notes domino datastage training courses malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *