Skip to content

Commit

Permalink
AI doc feedback (#6064)
Browse files Browse the repository at this point in the history
* Feedback

* Feedback

* Wording

* Signup feedback

* Formatting of keybindings

* Fix my typo

* Update RightArrow (no space)

---------

Co-authored-by: bamurtaugh <brmurtau@microsoft.com>
Co-authored-by: Greg Van Liew <gregvanl@microsoft.com>
  • Loading branch information
3 people authored Feb 27, 2023
1 parent ad36ba8 commit 7f7af4e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions docs/editor/artificial-intelligence.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ You'll use the [GitHub Copilot extension](https://marketplace.visualstudio.com/i

To use GitHub Copilot, you need an active GitHub Copilot subscription. In the [content below](#activate-your-free-trial), you'll learn how VS Code will help you activate your free 60-day trial directly from VS Code.

You can also activate your trial starting from the [GitHub Copilot website](https://copilot.github.com/):

![Copilot website with trial button](images/artificial-intelligence/website-top-buttons.png)
You can also activate your trial starting from the [GitHub Copilot signup page](https://github.com/github-copilot/signup).

## Sign in and sign up

Expand Down Expand Up @@ -90,6 +88,14 @@ Copilot will provide a suggestion like the following:
Use `kbstyle(Tab)` to accept the suggestion.
### Alternative and partial solutions
For any given input, GitHub Copilot may offer multiple suggestions. When Copilot offers a suggestion, you can hover over the suggestion to see the inline suggestion toolbar for choosing suggestions:
![JavaScript ghost text suggestion](images/artificial-intelligence/copilot-hover-highlight.png)
In the image above, Copilot presents three suggestions. You can accept the entire suggestion with `kbstyle(Tab)`, or only part of the suggestion with `kbstyle(Ctrl+RightArrow)`. You can switch between suggestions in the suggestion toolbar, or use the keyboard shortcut `kb(editor.action.inlineSuggest.showNext)` instead.
## Additional resources
Congratulations, you've now used artificial intelligence to enhance your coding!
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

0 comments on commit 7f7af4e

Please sign in to comment.